修复排行榜名字右击菜单的播放功能在播放非激活的列表时的列表获取问题

This commit is contained in:
lyswhut
2022-02-09 21:02:43 +08:00
parent 80fc43a075
commit 748a420b64
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -193,7 +193,6 @@ export default {
case 'play':
this.playSongListDetail({
boardId: board.id,
list: [...this.list],
id,
})
break
@@ -220,8 +219,9 @@ export default {
sourceListId: `board__${boardId}`,
})
},
async playSongListDetail({ boardId, id, list }) {
async playSongListDetail({ boardId, id }) {
let isPlayingList = false
const list = this.tabId == boardId ? [...this.list] : null
if (list?.length) {
this.setTempList({
list,