Skip to content

Commit

Permalink
Fix: checkSkus重试 (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
meooxx authored Jun 6, 2021
1 parent d46b04f commit f446d2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ class Tools {
return [true, result]
}
const result = await res.json()
if (!result.success) return [false]
if (!result.success) continue
const vendors = (result.resultData || {}).cartInfo ? result.resultData.cartInfo.vendors : []

let checkedNum = 0
Expand All @@ -868,7 +868,7 @@ class Tools {
}

if (i - 1 !== 0) {
this.sleep(50)
await this.sleep(50)
}

}
Expand Down

0 comments on commit f446d2c

Please sign in to comment.