|
@@ -143,7 +143,7 @@ export default {
|
|
|
async edit (e) {
|
|
|
await this.bannerdetails({ _id: e._id })
|
|
|
this.is_data = { ...this.bannerItem }
|
|
|
- if (this.is_data.annex !== '' && this.is_data.annex !== null) this.fileList.push({ name: this.is_data.annexname, url: this.is_data.annex })
|
|
|
+ if (this.is_data.annex && this.is_data.annex !== '' && this.is_data.annex !== null) this.fileList.push({ name: this.is_data.annexname, url: this.is_data.annex })
|
|
|
if (this.bannerItem.path) this.imageUrl = this.bannerItem.path
|
|
|
this.visible = true
|
|
|
},
|