不允许播放空列表
parent
cc4cb1a6a7
commit
f94c1ef852
|
@ -372,7 +372,7 @@ export default {
|
|||
if (!list || !list.list[info.index]) return
|
||||
info.list = list.list
|
||||
}
|
||||
|
||||
if (!info.list || !info.list[info.index]) return
|
||||
window.restorePlayInfo = info
|
||||
this.setPlayList({
|
||||
list: {
|
||||
|
|
|
@ -381,6 +381,7 @@ const mutations = {
|
|||
})
|
||||
},
|
||||
setList(state, { list, index }) {
|
||||
if (!(list && list.list && list.list[index])) return
|
||||
state.playMusicInfo = {
|
||||
musicInfo: list.list[index],
|
||||
listId: list.id,
|
||||
|
|
Loading…
Reference in New Issue