分离歌曲URL的缓存

This commit is contained in:
lyswhut
2021-04-05 19:31:07 +08:00
parent c6853b197c
commit 1c585dc479
9 changed files with 61 additions and 28 deletions
+1 -1
View File
@@ -607,7 +607,7 @@ export default {
if (!retryedSource.includes(targetSong.source)) retryedSource.push(targetSong.source)
let type = this.getPlayType(this.setting.player.highQuality, targetSong)
this.musicInfo.url = targetSong.typeUrl[type]
// this.musicInfo.url = await getMusicUrl(targetSong, type)
this.status = this.statusText = this.$t('core.player.geting_url')
return this.getUrl({ musicInfo: targetSong, originMusic, type, isRefresh }).then(url => {