mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
fix: 禁止在TrackListItem上导航到id为0的歌手页
This commit is contained in:
parent
999bf6fdb4
commit
7d64dea29b
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue