bug fix 上传jmx文件数量检查问题

This commit is contained in:
shiziyuan9527 2020-05-25 18:21:00 +08:00
parent 58ba058041
commit a0c878bb63
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@
this.fileList.splice(index, 1);
this.tableData.splice(index, 1);
//
let i = this.uploadList.indexOf(file);
let i = this.uploadList.findIndex(upLoadFile => upLoadFile.name === file.name);
if (i > -1) {
this.uploadList.splice(i, 1);
}