拆分图片显示修改

This commit is contained in:
caoyang
2022-04-21 16:16:18 +08:00
parent 71f705c08a
commit ccc08a5cc2
6 changed files with 73 additions and 46 deletions
@@ -811,7 +811,7 @@
},
//上传文件
uploadSuccess1(file,data,imgs,uploadFileFlag) {
uploadSuccess1(file,data,imgs ,uploadFileFlag) {
// console.log('dataimg',file,data,imgs,uploadFileFlag)
for(let i = this.contentList.length;i>this.addIndex;i--){
@@ -821,7 +821,7 @@
id:'',
type:'IMG',
itemContent:file.response.result.id,
thumbUrl:file.thumbUrl
thumbUrl:file.response.result.url
}
// let lengthImg=imgs.length
@@ -835,16 +835,17 @@
// id:'',
// type:'IMG',
// itemContent:item.response.result.id,
// thumbUrl:item.thumbUrl
// thumbUrl:item.response.result.url
// }
// })
// }
// this.$refs.uploadFile2.visible=false
if(uploadFileFlag==0){
this.splitVisible=false
}
console.log('conteend',data,this.contentList)
// console.log('conteend',imgs,this.contentList)
},
//点击图片预览
preImg(item){