This commit is contained in:
Captain.B 2020-03-30 18:24:23 +08:00
parent 43cefe0ed0
commit c2daa8090e
1 changed files with 3 additions and 1 deletions

View File

@ -167,7 +167,9 @@
this.tableData.splice(index, 1); this.tableData.splice(index, 1);
// //
let i = this.uploadList.indexOf(file); let i = this.uploadList.indexOf(file);
this.uploadList.splice(i, 1); if (i > -1) {
this.uploadList.splice(i, 1);
}
}, },
handleExceed() { handleExceed() {
this.$message.error(this.$t('load_test.delete_file')); this.$message.error(this.$t('load_test.delete_file'));