分离歌曲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
+2 -1
View File
@@ -1,5 +1,5 @@
import musicSdk from '../../utils/music'
import { clearLyric } from '../../utils'
import { clearLyric, clearMusicUrl } from '../../utils'
let allList = {}
window.allList = allList
@@ -215,6 +215,7 @@ const mutations = {
if (item.tlrc) delete item.tlrc
}
}
clearMusicUrl()
clearLyric()
},
setOtherSource(state, { musicInfo, otherSource }) {