diff --git a/publish/changeLog.md b/publish/changeLog.md index ae012b8b..195024ba 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -2,3 +2,6 @@ - 我的列表右键菜单新增列表排序功能,可调整单曲、多选后的歌曲的顺序。注意:多选排序还将会按照选中歌曲时的顺序排序 +### 修复 + +- 修复恢复上次播放的歌曲时在随机播放模式下不把恢复播放的歌曲放入已播放队列的问题(该问题会导致随机模式下会导致未播放完整个列表前就会再次随机到该歌曲,以及无法通过上一曲切回该歌曲) diff --git a/src/renderer/components/core/Player.vue b/src/renderer/components/core/Player.vue index 21cab61f..44c24259 100644 --- a/src/renderer/components/core/Player.vue +++ b/src/renderer/components/core/Player.vue @@ -264,6 +264,7 @@ export default { this.$nextTick(() => { this.sendProgressEvent(this.progress, 'paused') }) + if (this.setting.player.togglePlayMethod == 'random') this.setPlayedList(musicInfo) window.restorePlayInfo = null return }