generate报错后停止轮询

This commit is contained in:
X1627315083
2024-01-31 17:11:10 +08:00
parent 57e5d9f6e8
commit 31d2e71ab7
4 changed files with 13 additions and 0 deletions

View File

@@ -633,6 +633,9 @@ export default defineComponent({
} }
} }
).catch(res=>{ ).catch(res=>{
clearInterval(this.generateTime)
clearInterval(this.remGenerateTime)
this.loadingShow = false
}); });
},5000) },5000)
}, },

View File

@@ -723,6 +723,9 @@ export default defineComponent({
} }
} }
).catch(res=>{ ).catch(res=>{
clearInterval(this.generateTime)
clearInterval(this.remGenerateTime)
this.loadingShow = false
}); });
},5000) },5000)
}, },

View File

@@ -838,6 +838,9 @@ export default defineComponent({
} }
} }
).catch(res=>{ ).catch(res=>{
clearInterval(this.generateTime)
clearInterval(this.remGenerateTime)
this.loadingShow = false
}); });
},5000) },5000)
}, },

View File

@@ -1389,6 +1389,10 @@ export default defineComponent({
} }
} }
).catch(res=>{ ).catch(res=>{
clearInterval(this.generateTime)
clearInterval(this.remGenerateTime)
this.isShowMark = false
this.isGenerate = false
}); });
},5000) },5000)
}, },