diff --git a/src/components/global.vue b/src/components/global.vue index 6a00cfb..c6da17c 100644 --- a/src/components/global.vue +++ b/src/components/global.vue @@ -154,11 +154,12 @@ console.log(this.cite.selectedFile.length,this.cite.selectedFile) if(data.taskStatus=='COMPLETE') { if(this.cite.selectedFile.length>1) { - this.cite.selectedFile.forEach((item,index)=>{ - if(item.code == data.taskCode) { - this.cite.selectedFile.splice(index, 1) - } - }) + this.cite.selectedFile.splice(0, 1) + // this.cite.selectedFile.forEach((item,index)=>{ + // if(item.code == data.taskCode) { + // this.cite.selectedFile.splice(index, 1) + // } + // }) }else{ this.DYZshow = false this.$router.push({