|
@@ -81,12 +81,12 @@
|
|
|
</detail-list>
|
|
|
<title-divider title="图片信息" width="90px"></title-divider>
|
|
|
<detail-list title="" :col="1">
|
|
|
- <detail-list-item term="" v-if="model.sbFileList.length > 0">
|
|
|
+ <detail-list-item term="" v-if="model.sbFileList != null && model.sbFileList.length > 0">
|
|
|
<viewer :images="model.sbFileList" @inited="inited" ref="viewer" :index="1" >
|
|
|
<img v-for="item in model.sbFileList" :src="item.url" :key="item.id" class="image">
|
|
|
</viewer>
|
|
|
</detail-list-item>
|
|
|
- <detail-list-item term="" v-if="model.sbFileList.length === 0">
|
|
|
+ <detail-list-item term="" v-if="model.sbFileList == null || model.sbFileList.length === 0">
|
|
|
暂无
|
|
|
</detail-list-item>
|
|
|
</detail-list>
|
|
@@ -321,7 +321,6 @@ export default {
|
|
|
this.model = record
|
|
|
this.activeKey = '1'
|
|
|
this.collapseActiveKey = '0'
|
|
|
- console.log('length: ' + this.model.sbFileList.length)
|
|
|
this.fetchNum()
|
|
|
fetchFirmProducer({ id: this.model.producerId }).then(res => {
|
|
|
this.firmProducer = res.data
|