修复手动切歌不清除稍后播放列表的问题

pull/453/head
lyswhut 2021-01-23 14:56:57 +08:00
parent a31d6bc5ae
commit f66077f012
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ const mutations = {
state.changePlay = true
// console.log(state.playMusicInfo)
if (state.playedList.length) this.commit('player/clearPlayedList')
if (state.playedList.length) this.commit('player/clearTempPlayeList')
if (state.tempPlayList.length) this.commit('player/clearTempPlayeList')
},
setPlayIndex(state, index) {
state.playIndex = index