fix: 禁止在TrackListItem上导航到id为0的歌手页

This commit is contained in:
memorydream 2022-04-04 22:04:53 +08:00 committed by qier222
parent 999bf6fdb4
commit 7d64dea29b

View file

@ -208,6 +208,7 @@ export default {
methods: {
goToAlbum() {
if (this.track.al.id === 0) return;
this.$router.push({ path: '/album/' + this.track.al.id });
},
playTrack() {