下载失败跳过进入下一个任务

main
wangxiaoshuang 2026-05-07 16:01:09 +08:00
parent a7337a347b
commit a5c3dac047
1 changed files with 2 additions and 4 deletions

View File

@ -29,10 +29,8 @@ export default {
if (index >= arr.length) return false
let res = await this.handleExportImage(false, true, arr[index])
console.log(res, 'res')
if (res) {
index++
this.LoopDownload(arr, index)
}
index++
this.LoopDownload(arr, index)
},
async handleExportImage(IsKeyImage = false, IsExportReading = false, SubjectVisitId) {
try {