|
@@ -81,13 +81,14 @@ export default {
|
|
|
this.loading = true
|
|
|
this.$api.house.admoldhousedetail({id: this.curObj.id}).then(res => {
|
|
|
let curData = res || {}
|
|
|
- this.imagesArr = curData.images.split(',')
|
|
|
+ this.imagesArr = curData.images ? curData.images.split(',') : []
|
|
|
this.cObj = curData || {}
|
|
|
this.getDef()
|
|
|
this.loading = false
|
|
|
})
|
|
|
} else {
|
|
|
this.cObj = this.curObj
|
|
|
+ this.imagesArr = []
|
|
|
this.getDef()
|
|
|
}
|
|
|
}
|