|
@@ -623,6 +623,7 @@ export default {
|
|
|
} else {
|
|
|
this.imgsArr = this.main[row.row].infos ? (this.main[row.row].infos[val.split(".")[1]] ? [this.main[row.row].infos[val.split(".")[1]]] : []) : []
|
|
|
}
|
|
|
+ console.log(this.imgsArr,'this.imgsArr')
|
|
|
this.myDialog.uploadImgs = true
|
|
|
}
|
|
|
|
|
@@ -798,20 +799,21 @@ export default {
|
|
|
|
|
|
//上传文件弹窗触发事件
|
|
|
fileChange(keys) {
|
|
|
- this.setDataToMain(keys[0], this.messKey.split("."), this.row)
|
|
|
+ this.setDataToMain(keys[0], this.messKey.split(".")[1], this.row)
|
|
|
tools.setItem(this.deviceType.code, this.main)
|
|
|
},
|
|
|
|
|
|
//上传图片弹窗触发事件
|
|
|
imgChange(keys) {
|
|
|
console.log(keys,'keys')
|
|
|
- this.setDataToMain(keys[0], this.messKey.split("."), this.row)
|
|
|
+ this.setDataToMain(keys[0], this.messKey.split(".")[1], this.row)
|
|
|
tools.setItem(this.deviceType.code, this.main)
|
|
|
+ console.log(this.main,'this.main')
|
|
|
},
|
|
|
|
|
|
//设备图片弹窗改变事件
|
|
|
changePics(keys) {
|
|
|
- this.setDataToMain(keys, this.messKey.split("."), this.row)
|
|
|
+ this.setDataToMain(keys, this.messKey.split(".")[1], this.row)
|
|
|
tools.setItem(this.deviceType.code, this.main)
|
|
|
},
|
|
|
|