mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 05:38:04 +00:00
feat: support daily recommend songs
This commit is contained in:
parent
59397ed535
commit
3bbab6ba27
9 changed files with 320 additions and 5 deletions
|
|
@ -290,9 +290,11 @@ export default {
|
|||
this.player.moveToFMTrash();
|
||||
},
|
||||
goToList() {
|
||||
if (this.player.playlistSource.id === this.data.likedSongPlaylistID)
|
||||
if (this.player.playlistSource.id === this.data.likedSongPlaylistID) {
|
||||
this.$router.push({ path: "/library/liked-songs" });
|
||||
else
|
||||
} else if (this.player.playlistSource.type === "url") {
|
||||
this.$router.push({ path: this.player.playlistSource.id });
|
||||
} else {
|
||||
this.$router.push({
|
||||
path:
|
||||
"/" +
|
||||
|
|
@ -300,6 +302,7 @@ export default {
|
|||
"/" +
|
||||
this.player.playlistSource.id,
|
||||
});
|
||||
}
|
||||
},
|
||||
goToAlbum() {
|
||||
if (this.player.currentTrack.al.id === 0) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue