From 7d64dea29b1d5d9288e4f4676fe41f6a1d58fd03 Mon Sep 17 00:00:00 2001 From: memorydream <34763046+memorydream@users.noreply.github.com> Date: Mon, 4 Apr 2022 22:04:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A6=81=E6=AD=A2=E5=9C=A8TrackListItem?= =?UTF-8?q?=E4=B8=8A=E5=AF=BC=E8=88=AA=E5=88=B0id=E4=B8=BA0=E7=9A=84?= =?UTF-8?q?=E6=AD=8C=E6=89=8B=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TrackListItem.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/TrackListItem.vue b/src/components/TrackListItem.vue index b51cd70..2d71fd5 100644 --- a/src/components/TrackListItem.vue +++ b/src/components/TrackListItem.vue @@ -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() {