From 748a420b64a8fa341bc01360d9d58b5280455448 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 9 Feb 2022 21:02:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=92=E8=A1=8C=E6=A6=9C?= =?UTF-8?q?=E5=90=8D=E5=AD=97=E5=8F=B3=E5=87=BB=E8=8F=9C=E5=8D=95=E7=9A=84?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=8A=9F=E8=83=BD=E5=9C=A8=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E9=9D=9E=E6=BF=80=E6=B4=BB=E7=9A=84=E5=88=97=E8=A1=A8=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E5=88=97=E8=A1=A8=E8=8E=B7=E5=8F=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 4 ++++ src/renderer/views/Leaderboard.vue | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index 4631d8ba..d8426554 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -2,6 +2,10 @@ - 过滤tx源某些不支持播放的歌曲,解决播放此类内容会导致意外的问题 +### 修复 + +- 修复排行榜名字右击菜单的播放功能在播放非激活的列表时的列表获取问题 + ### 其他 - 更新electron到v13.6.9 diff --git a/src/renderer/views/Leaderboard.vue b/src/renderer/views/Leaderboard.vue index 705b7f44..b3f95db2 100644 --- a/src/renderer/views/Leaderboard.vue +++ b/src/renderer/views/Leaderboard.vue @@ -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,