mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 12:32:07 +08:00
fix(views/lyrics): don't open empty artist link (#1286)
This commit is contained in:
parent
d15b58d805
commit
80b19192c3
|
@ -57,10 +57,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="subtitle">
|
<div class="subtitle">
|
||||||
<router-link
|
<router-link
|
||||||
|
v-if="artist.id !== 0"
|
||||||
:to="`/artist/${artist.id}`"
|
:to="`/artist/${artist.id}`"
|
||||||
@click.native="toggleLyrics"
|
@click.native="toggleLyrics"
|
||||||
>{{ artist.name }}</router-link
|
>{{ artist.name }}
|
||||||
>
|
</router-link>
|
||||||
|
<span v-else>
|
||||||
|
{{ artist.name }}
|
||||||
|
</span>
|
||||||
<span v-if="album.id !== 0">
|
<span v-if="album.id !== 0">
|
||||||
-
|
-
|
||||||
<router-link
|
<router-link
|
||||||
|
|
Loading…
Reference in New Issue
Block a user