直接从歌单详情收藏的列表新增同步功能

This commit is contained in:
lyswhut
2020-12-10 12:57:48 +08:00
parent 2056bdb43d
commit f1049169b5
9 changed files with 86 additions and 10 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ const actions = {
: music[source].songList.getListDetail(id, page)
).then(result => commit('setListDetail', { result, key, source, id, page }))
},
getListDetailAll({ state, rootState }, id) {
let source = rootState.setting.songList.source
getListDetailAll({ state, rootState }, { source, id }) {
// console.log(source, id)
const loadData = (id, page) => {
let key = `sdetail__${source}__${id}__${page}`
return cache.has(key)