This commit is contained in:
shiziyuan9527 2020-10-14 17:54:24 +08:00
commit 2795345786
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@
handleRemove(file) {
this.$refs.upload.handleRemove(file);
for (let i = 0; i < this.parameter.files.length; i++) {
if (file.name === this.parameter.files[i].name) {
if (file.file.name === this.parameter.files[i].file.name) {
this.parameter.files.splice(i, 1);
this.$refs.upload.handleRemove(file);
break;