下载失败跳过进入下一个任务
parent
a7337a347b
commit
a5c3dac047
|
|
@ -29,10 +29,8 @@ export default {
|
||||||
if (index >= arr.length) return false
|
if (index >= arr.length) return false
|
||||||
let res = await this.handleExportImage(false, true, arr[index])
|
let res = await this.handleExportImage(false, true, arr[index])
|
||||||
console.log(res, 'res')
|
console.log(res, 'res')
|
||||||
if (res) {
|
index++
|
||||||
index++
|
this.LoopDownload(arr, index)
|
||||||
this.LoopDownload(arr, index)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
async handleExportImage(IsKeyImage = false, IsExportReading = false, SubjectVisitId) {
|
async handleExportImage(IsKeyImage = false, IsExportReading = false, SubjectVisitId) {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue