From add05ef91347da59982de94cb390d0d97c37cd1b Mon Sep 17 00:00:00 2001 From: lyswhut Date: Mon, 10 May 2021 16:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E6=92=AD=E6=94=BE=E7=9A=84=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=B8=AD=E4=BD=BF=E7=94=A8=E7=A8=8D=E5=90=8E=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=97=B6=EF=BC=8C=E6=92=AD=E6=94=BE=E5=AE=8C?= =?UTF-8?q?=E5=90=8E=E7=A8=8D=E5=90=8E=E6=92=AD=E6=94=BE=E7=9A=84=E6=AD=8C?= =?UTF-8?q?=E6=9B=B2=E5=90=8E=E4=B8=8D=E4=BC=9A=E6=81=A2=E5=A4=8D=E5=8E=9F?= =?UTF-8?q?=E6=9D=A5=E6=92=AD=E6=94=BE=E4=BD=8D=E7=BD=AE=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 2 ++ src/renderer/store/modules/player.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index a07a4a6a..c64a3d29 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -2,3 +2,5 @@ - 修复全局快捷键对桌面歌词无效的问题 - 修复快捷键设置框内的提示问题 +- 修复在当前正常播放的列表中使用稍后播放功能时,播放完后稍后播放的歌曲后不会恢复原来播放位置播放的问题 + diff --git a/src/renderer/store/modules/player.js b/src/renderer/store/modules/player.js index 37f1e2ca..2d7553b9 100644 --- a/src/renderer/store/modules/player.js +++ b/src/renderer/store/modules/player.js @@ -432,7 +432,7 @@ const mutations = { playIndex = -1 } else { let listId = playMusicInfo.listId - if (listId != '__temp__' && listId === state.listInfo.id) playIndex = state.listInfo.list.indexOf(playMusicInfo.musicInfo) + if (listId != '__temp__' && !playMusicInfo.isTempPlay && listId === state.listInfo.id) playIndex = state.listInfo.list.indexOf(playMusicInfo.musicInfo) } state.playMusicInfo = playMusicInfo