mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 11:29:37 +08:00
fix: artist and album show as unknow in lyrics page
This commit is contained in:
parent
e0c9fa38d3
commit
c2793cf9ff
|
@ -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…
Reference in New Issue
Block a user