修复手动切歌不清除稍后播放列表的问题
parent
a31d6bc5ae
commit
f66077f012
|
@ -303,7 +303,7 @@ const mutations = {
|
||||||
state.changePlay = true
|
state.changePlay = true
|
||||||
// console.log(state.playMusicInfo)
|
// console.log(state.playMusicInfo)
|
||||||
if (state.playedList.length) this.commit('player/clearPlayedList')
|
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) {
|
setPlayIndex(state, index) {
|
||||||
state.playIndex = index
|
state.playIndex = index
|
||||||
|
|
Loading…
Reference in New Issue