diff --git a/publish/changeLog.md b/publish/changeLog.md index 2460416e..ef55a99e 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,4 +1,3 @@ ### 修复 -- 修复非透明模式下右侧滚动条无法拖动的问题 -- 修复MAC下xm音乐滑块验证问题 +- 修复音乐搜索列表的稍后播放功能无效的问题 diff --git a/src/renderer/views/Search.vue b/src/renderer/views/Search.vue index 9fb8f0a8..6c428d8e 100644 --- a/src/renderer/views/Search.vue +++ b/src/renderer/views/Search.vue @@ -289,14 +289,6 @@ export default { case 'play': this.testPlay(info.index) break - case 'playLater': - if (this.selectedData.length) { - this.setTempPlayList(this.selectedData.map(s => ({ listId: '__temp__', musicInfo: s }))) - this.resetSelect() - } else { - this.setTempPlayList([{ listId: '__temp__', musicInfo: this.list[info.index] }]) - } - break case 'listAdd': this.musicInfo = this.listInfo.list[info.index] this.$nextTick(() => { @@ -480,6 +472,14 @@ export default { } this.testPlay(index) break + case 'playLater': + if (this.selectedData.length) { + this.setTempPlayList(this.selectedData.map(s => ({ listId: '__temp__', musicInfo: s }))) + this.resetSelect() + } else { + this.setTempPlayList([{ listId: '__temp__', musicInfo: this.listInfo.list[index] }]) + } + break case 'addTo': if (this.selectedData.length) { this.$nextTick(() => {