mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 05:08:04 +00:00
fix: artist and album show as unknow in lyrics page
This commit is contained in:
parent
e0c9fa38d3
commit
c2793cf9ff
1 changed files with 2 additions and 4 deletions
|
|
@ -273,12 +273,10 @@ export default {
|
|||
return this.lyric.length == 0;
|
||||
},
|
||||
artist() {
|
||||
// console.log(this.currentTrack);
|
||||
// return this.currentTrack?.ar[0] || { id: 0, name: "unknown" };
|
||||
return { id: 0, name: "unknown" };
|
||||
return this.currentTrack?.ar[0] || { id: 0, name: "unknown" };
|
||||
},
|
||||
album() {
|
||||
return { id: 0, name: "unknown" };
|
||||
return this.currentTrack?.al || { id: 0, name: "unknown" };
|
||||
},
|
||||
},
|
||||
created() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue