mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 05:08:04 +00:00
fix: 音乐库收藏的歌单少了第一张歌单 (#1657)
This commit is contained in:
parent
bbbd729fdf
commit
439f368fd6
1 changed files with 2 additions and 2 deletions
|
|
@ -114,7 +114,7 @@
|
|||
<div v-show="currentTab === 'playlists'">
|
||||
<div v-if="liked.playlists.length > 1">
|
||||
<CoverRow
|
||||
:items="filterPlaylists.slice(1)"
|
||||
:items="filterPlaylists"
|
||||
type="playlist"
|
||||
sub-text="creator"
|
||||
:show-play-button="true"
|
||||
|
|
@ -282,7 +282,7 @@ export default {
|
|||
return this.data.libraryPlaylistFilter || 'all';
|
||||
},
|
||||
filterPlaylists() {
|
||||
const playlists = this.liked.playlists;
|
||||
const playlists = this.liked.playlists.slice(1);
|
||||
const userId = this.data.user.userId;
|
||||
if (this.playlistFilter === 'mine') {
|
||||
return playlists.filter(p => p.creator.userId === userId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue