fix(views/lyrics): don't open empty artist link (#1286)

This commit is contained in:
memorydream 2022-02-03 20:37:18 +08:00 committed by GitHub
parent d15b58d805
commit 80b19192c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,10 +57,14 @@
</div>
<div class="subtitle">
<router-link
v-if="artist.id !== 0"
:to="`/artist/${artist.id}`"
@click.native="toggleLyrics"
>{{ artist.name }}</router-link
>
>{{ artist.name }}
</router-link>
<span v-else>
{{ artist.name }}
</span>
<span v-if="album.id !== 0">
-
<router-link