修复音乐搜索列表的稍后播放功能无效的问题

pull/459/head
lyswhut 2021-02-01 18:26:26 +08:00
parent 84530ca0a2
commit 70d24ffdfd
2 changed files with 9 additions and 10 deletions

View File

@ -1,4 +1,3 @@
### 修复 ### 修复
- 修复非透明模式下右侧滚动条无法拖动的问题 - 修复音乐搜索列表的稍后播放功能无效的问题
- 修复MAC下xm音乐滑块验证问题

View File

@ -289,14 +289,6 @@ export default {
case 'play': case 'play':
this.testPlay(info.index) this.testPlay(info.index)
break 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': case 'listAdd':
this.musicInfo = this.listInfo.list[info.index] this.musicInfo = this.listInfo.list[info.index]
this.$nextTick(() => { this.$nextTick(() => {
@ -480,6 +472,14 @@ export default {
} }
this.testPlay(index) this.testPlay(index)
break 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': case 'addTo':
if (this.selectedData.length) { if (this.selectedData.length) {
this.$nextTick(() => { this.$nextTick(() => {