修复下载管理刷新URL失败时不标记任务下载失败的问题
parent
83f0ca918a
commit
4c97bc34ce
|
@ -10,6 +10,7 @@
|
||||||
### 修复
|
### 修复
|
||||||
|
|
||||||
- 修复网易源某些歌曲提示没有可播放的音质的问题
|
- 修复网易源某些歌曲提示没有可播放的音质的问题
|
||||||
|
- 修复下载管理刷新URL失败时不标记任务下载失败的问题
|
||||||
|
|
||||||
### 其他
|
### 其他
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,9 @@ const refreshUrl = function(commit, downloadInfo) {
|
||||||
dl.refreshUrl(result.url)
|
dl.refreshUrl(result.url)
|
||||||
dl.start()
|
dl.start()
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
// console.log(err)
|
||||||
|
commit('onError', downloadInfo)
|
||||||
|
commit('setStatusText', { downloadInfo, text: err.message })
|
||||||
this.dispatch('download/startTask')
|
this.dispatch('download/startTask')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue