admin/src/components/common/UploadImage.vue
@@ -83,7 +83,6 @@ this.srcList.push(item.url) }) } console.log("==================srcList=",this.srcList); } @@ -129,9 +128,9 @@ console.log(this.fileList); let tempIndex = this.realList.findIndex(item => item.fileurl === file.fileurl) // debugger this.realList.splice(tempIndex, 1) // this.realList.splice(tempIndex, 1) this.fileList.splice(tempIndex, 1) this.srcList.splice(tempIndex, 1) // this.srcList.splice(tempIndex, 1) }, },