调整generate接口报错情况
This commit is contained in:
@@ -636,6 +636,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
).catch(res=>{
|
).catch(res=>{
|
||||||
|
this.fileList = this.fileList.filter((item:any)=>item.status == 'Success')
|
||||||
clearInterval(this.generateTime)
|
clearInterval(this.generateTime)
|
||||||
clearInterval(this.remGenerateTime)
|
clearInterval(this.remGenerateTime)
|
||||||
this.loadingShow = false
|
this.loadingShow = false
|
||||||
@@ -643,7 +644,7 @@ export default defineComponent({
|
|||||||
},1000)
|
},1000)
|
||||||
},
|
},
|
||||||
removeGenerate(){
|
removeGenerate(){
|
||||||
let arr = this.fileList.filter((item:any)=>item.status != 'Success')
|
let arr = this.fileList.filter((item:any)=>item.status == 'Success')
|
||||||
//取消操作
|
//取消操作
|
||||||
this.fileList = this.fileList.filter((item:any)=>item.status == 'Success')
|
this.fileList = this.fileList.filter((item:any)=>item.status == 'Success')
|
||||||
this.loadingShow = false
|
this.loadingShow = false
|
||||||
|
|||||||
@@ -785,6 +785,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
}
|
}
|
||||||
).catch(res=>{
|
).catch(res=>{
|
||||||
|
this.fileList = this.fileList.filter((item:any)=>item.status == 'Success')
|
||||||
clearInterval(this.generateTime)
|
clearInterval(this.generateTime)
|
||||||
clearInterval(this.remGenerateTime)
|
clearInterval(this.remGenerateTime)
|
||||||
this.loadingShow = false
|
this.loadingShow = false
|
||||||
|
|||||||
@@ -898,6 +898,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
).catch(res=>{
|
).catch(res=>{
|
||||||
|
this.fileList = this.fileList.filter((item:any)=>item.status == 'Success')
|
||||||
clearInterval(this.generateTime)
|
clearInterval(this.generateTime)
|
||||||
clearInterval(this.remGenerateTime)
|
clearInterval(this.remGenerateTime)
|
||||||
this.loadingShow = false
|
this.loadingShow = false
|
||||||
|
|||||||
@@ -1189,6 +1189,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
).catch(res=>{
|
).catch(res=>{
|
||||||
|
this.generateList = this.generateList.filter((item:any)=>item.status == 'Success')
|
||||||
clearInterval(this.generateTime)
|
clearInterval(this.generateTime)
|
||||||
clearInterval(this.remGenerateTime)
|
clearInterval(this.remGenerateTime)
|
||||||
this.isShowMark = false
|
this.isShowMark = false
|
||||||
|
|||||||
Reference in New Issue
Block a user