修复下载管理刷新URL失败时不标记任务下载失败的问题
This commit is contained in:
@@ -137,7 +137,9 @@ const refreshUrl = function(commit, downloadInfo) {
|
||||
dl.refreshUrl(result.url)
|
||||
dl.start()
|
||||
}).catch(err => {
|
||||
console.log(err)
|
||||
// console.log(err)
|
||||
commit('onError', downloadInfo)
|
||||
commit('setStatusText', { downloadInfo, text: err.message })
|
||||
this.dispatch('download/startTask')
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user