From 56af57c68215d269f04a29a8d5587d64317d6ba4 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 23 Jul 2021 16:14:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9F=90=E4=BA=9B=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8B=E6=89=80=E6=98=BE=E7=A4=BA=E7=9A=84=E6=AD=8C?= =?UTF-8?q?=E8=AF=8D=E3=80=81=E5=B0=81=E9=9D=A2=E5=9B=BE=E7=89=87=E4=B8=8E?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E6=AD=A3=E5=9C=A8=E6=92=AD=E6=94=BE=E7=9A=84?= =?UTF-8?q?=E6=AD=8C=E6=9B=B2=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 1 + src/renderer/components/core/Player.vue | 2 ++ 2 files changed, 3 insertions(+) diff --git a/publish/changeLog.md b/publish/changeLog.md index 43f46749..8dddab24 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,3 +1,4 @@ ### 修复 - 修复导入kg歌单最多只能加载100、500首歌曲的问题。注:现在可以加载1000+首歌曲的歌单,但出于未知原因会导致部分歌曲无法加载(可能是无版权导致的),目前酷狗码仍然最多只能加载500首歌 +- 修复某些情况下所显示的歌词、封面图片与当前正在播放的歌曲不一致的问题 diff --git a/src/renderer/components/core/Player.vue b/src/renderer/components/core/Player.vue index 9b30bf8b..99837710 100644 --- a/src/renderer/components/core/Player.vue +++ b/src/renderer/components/core/Player.vue @@ -634,12 +634,14 @@ export default { if (!this.musicInfo.img) { this.getPic(targetSong).then(() => { + if (targetSong !== this.targetSong) return this.musicInfo.img = targetSong.img }) } }, setLrc(targetSong) { this.getLrc(targetSong).then(({ lyric, tlyric, lxlyric }) => { + if (targetSong !== this.targetSong) return this.musicInfo.lrc = lyric this.musicInfo.tlrc = tlyric this.musicInfo.lxlrc = lxlyric