Merge branch 'master' of https://github.com/metersphere/metersphere
This commit is contained in:
commit
2795345786
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue