在歌单详情界面新增播放当前歌单按钮、收藏歌单按钮

This commit is contained in:
lyswhut
2020-08-22 14:06:16 +08:00
parent 8df3ff3536
commit 341df0dab7
11 changed files with 96 additions and 57 deletions
+1 -1
View File
@@ -706,7 +706,7 @@ export default {
this.setProgressWidth()
},
handleToMusicLocation() {
if (this.listId == 'download') return
if (!this.listId || this.listId == 'download') return
if (this.playIndex == -1) return
this.$router.push({
path: 'list',
@@ -91,7 +91,7 @@ export default {
this.newListName = event.target.value = ''
this.isEditing = false
if (!name) return
this.createUserList(name)
this.createUserList({ name })
},
},
}
@@ -92,7 +92,7 @@ export default {
this.newListName = event.target.value = ''
this.isEditing = false
if (!name) return
this.createUserList(name)
this.createUserList({ name })
},
},
}