fix: bugs

This commit is contained in:
qier222 2021-01-20 14:02:03 +08:00
parent 3822b498a1
commit b2f758f0c4
11 changed files with 40 additions and 67 deletions

View file

@ -198,9 +198,6 @@ export default {
...mapMutations(["appendTrackToPlayerList"]),
...mapActions(["playFirstTrackOnList", "playTrackOnListByID", "showToast"]),
playAlbumByID(id, trackID = "first") {
if (this.tracks.find((t) => t.playable !== false) === undefined) {
return;
}
this.$store.state.player.playAlbumByID(id, trackID);
},
likeAlbum(toast = false) {