mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
fix: bugs
This commit is contained in:
parent
6a64e73a2c
commit
d6be72f5ce
9 changed files with 27 additions and 29 deletions
|
|
@ -275,6 +275,11 @@ export default {
|
|||
getLikedSongs(getLyric = true) {
|
||||
getPlaylistDetail(this.data.likedSongPlaylistID, true).then((data) => {
|
||||
this.likedSongsPlaylist = data.playlist;
|
||||
if (data.playlist.trackIds.length === 0) {
|
||||
NProgress.done();
|
||||
this.show = true;
|
||||
return;
|
||||
}
|
||||
let TrackIDs = data.playlist.trackIds.slice(0, 12).map((t) => t.id);
|
||||
this.likedSongIDs = TrackIDs;
|
||||
getTrackDetail(this.likedSongIDs.join(",")).then((data) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue