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