|
|
@ -1183,9 +1183,12 @@ export default { |
|
|
|
handleRemove(file, fileList) { |
|
|
|
if (this.formobj.fileName.length > 0) { |
|
|
|
this.formobj.fileName.forEach((e, index) => { |
|
|
|
if (e.url === fileList.response.data.fullUrl) { |
|
|
|
this.formobj.fileName.splice(index, 1) |
|
|
|
} |
|
|
|
this.fileList.forEach((k, num) => { |
|
|
|
if (e.url === k.response.data.fullUrl || e.url === k.url) { |
|
|
|
this.formobj.fileName.splice(index, 1) |
|
|
|
this.fileList.splice(num, 1) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|