修复了一个歌曲下载失败时不会跳过任务的问题
This commit is contained in:
@@ -460,7 +460,7 @@ const actions = {
|
||||
},
|
||||
onFail(response) {
|
||||
if (++tryNum[downloadInfo.key] > 2) {
|
||||
commit('onError', downloadInfo)
|
||||
commit('onError', { downloadInfo, errorMsg: '下载失败' })
|
||||
dispatch('startTask')
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user