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

master
memorydream 3 years ago committed by qier222
parent 999bf6fdb4
commit 7d64dea29b

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

Loading…
Cancel
Save