不允许播放空列表

This commit is contained in:
lyswhut
2021-05-24 11:03:21 +08:00
parent cc4cb1a6a7
commit f94c1ef852
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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,