|
|
@ -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> |
|
|
|
|
|
|
|