完成歌单功能

This commit is contained in:
lyswhut
2019-09-04 00:03:29 +08:00
parent 9727601752
commit a035a2525a
9 changed files with 248 additions and 79 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ export default {
return info
})
)
if (!tagId) tasks.push(this.getSongListRecommend()) // 如果是所有类别,则顺便获取推荐列表
if (!tagId && page === 1) tasks.push(this.getSongListRecommend()) // 如果是所有类别,则顺便获取推荐列表
return Promise.all(tasks).then(([list, info, recommendList]) => {
if (recommendList) list.unshift(...recommendList)
return {