fix
This commit is contained in:
@@ -644,15 +644,16 @@ export default defineComponent({
|
||||
},
|
||||
removeGenerate(){
|
||||
let arr = this.fileList.filter((item:any)=>item.status != 'Success')
|
||||
|
||||
//取消操作
|
||||
this.fileList = this.fileList.filter((item:any)=>item.status == 'Success')
|
||||
this.loadingShow = false
|
||||
clearInterval(this.generateTime)
|
||||
if(arr){
|
||||
let str = arr.map((obj:any) => obj.taskId).join(',');
|
||||
let data = {uniqueId:str,userId:this?.userInfo?.userId,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}
|
||||
Https.axiosGet(Https.httpUrls.generateStopWaiting, {params:data}).then(
|
||||
(rv) => {
|
||||
this.fileList = this.fileList.filter((item:any)=>item.status == 'Success')
|
||||
this.loadingShow = false
|
||||
clearInterval(this.generateTime)
|
||||
|
||||
}
|
||||
).catch(res=>{
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user