|
@@ -212,6 +212,13 @@
|
|
|
console.log(info.file, info.fileList);
|
|
console.log(info.file, info.fileList);
|
|
|
}
|
|
}
|
|
|
let fileList = info.fileList
|
|
let fileList = info.fileList
|
|
|
|
|
+ //第二导入删除前一个文件
|
|
|
|
|
+ if(fileList.length>1){
|
|
|
|
|
+ const index = 0;
|
|
|
|
|
+ const newFileList = fileList.slice();
|
|
|
|
|
+ newFileList.splice(index, 1);
|
|
|
|
|
+ fileList=newFileList
|
|
|
|
|
+ }
|
|
|
if (info.file.status === 'done') {
|
|
if (info.file.status === 'done') {
|
|
|
if(info.file.response.success){
|
|
if(info.file.response.success){
|
|
|
this.type=2
|
|
this.type=2
|