更改URL重试刷新次数

This commit is contained in:
lyswhut
2019-10-22 01:36:25 +08:00
parent 31e8b466cf
commit 59091a5ea9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ const actions = {
// console.log(err.code, err.message)
commit('onError', downloadInfo)
// console.log(tryNum[downloadInfo.key])
if (++tryNum[downloadInfo.key] > 5) {
if (++tryNum[downloadInfo.key] > 2) {
_this.dispatch('download/startTask')
return
}