Browse Source

图片详情

dev
巴林闲侠 1 year 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' }}>
{
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 }}>
<Image src={qndmn + '/' + imgSrc} width={'100%'} style={{ marginBottom: 4 }} />
</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>

Loading…
Cancel
Save