修复歌单详情获取流程问题

This commit is contained in:
lyswhut
2022-03-18 14:56:29 +08:00
parent 674a3a0a3f
commit 7cf2e4c4ed
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ const actions = {
: music[source]?.songList.getListDetail(id, page).then(result => {
cache.set(key, result)
return result
})
}) ?? Promise.reject(new Error('source not found'))
}
return loadData(id, 1).then(result => {
if (result.total <= result.limit) return filterList(result.list)