Browse Source

图片详情

dev
巴林闲侠 2 years ago
parent
commit
bd30574294
  1. 12
      web/client/src/sections/fillion/components/patrolTable.js

12
web/client/src/sections/fillion/components/patrolTable.js

@ -80,18 +80,12 @@ const DetailForm = (props) => {
: :
<div style={{ width: '70%', display: 'flex', position: 'relative', flexWrap: 'wrap' }}> <div style={{ width: '70%', display: 'flex', position: 'relative', flexWrap: 'wrap' }}>
{ {
data.scenePic && data.scenePic instanceof Array ? data.scenePic.map(imgSrc => { data[obj.name] && data[obj.name] instanceof Array ? data[obj.name].map(imgSrc => {
return <div style={{ width: '44%', margin: 6 }}> return <div style={{ width: '44%', margin: 6 }}>
<Image src={qndmn + '/' + imgSrc} width={'100%'} style={{ marginBottom: 4 }} /> <Image src={qndmn + '/' + imgSrc} width={'100%'} style={{ marginBottom: 4 }} />
</div> </div>
}) : data.handlePic && data.handlePic instanceof Array ? data.handlePic.map(imgSrc => { })
return <div style={{ width: '44%', margin: 6 }}> : '暂无图片'
<Image src={qndmn + '/' + imgSrc} width={'100%'} style={{ marginBottom: 4 }} />
</div>
}) : '暂无图片'
} }
</div> </div>

Loading…
Cancel
Save