优化next页面,删除无用代码

This commit is contained in:
qier222 2020-10-17 22:18:08 +08:00
parent 6ce6f6b167
commit e11ad6bf46
6 changed files with 31 additions and 123 deletions

View file

@ -131,11 +131,7 @@ export default {
},
},
methods: {
...mapMutations([
"updatePlayerList",
"appendTrackToPlayerList",
"shuffleTheList",
]),
...mapMutations(["appendTrackToPlayerList"]),
...mapActions(["playFirstTrackOnList", "playTrackOnListByID"]),
playAlbumByID(id, trackID = "first") {
if (this.tracks.find((t) => t.playable !== false) === undefined) {