mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +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-show="currentTab === 'playlists'">
|
||||||
<div v-if="liked.playlists.length > 1">
|
<div v-if="liked.playlists.length > 1">
|
||||||
<CoverRow
|
<CoverRow
|
||||||
:items="filterPlaylists.slice(1)"
|
:items="filterPlaylists"
|
||||||
type="playlist"
|
type="playlist"
|
||||||
sub-text="creator"
|
sub-text="creator"
|
||||||
:show-play-button="true"
|
:show-play-button="true"
|
||||||
|
|
@ -282,7 +282,7 @@ export default {
|
||||||
return this.data.libraryPlaylistFilter || 'all';
|
return this.data.libraryPlaylistFilter || 'all';
|
||||||
},
|
},
|
||||||
filterPlaylists() {
|
filterPlaylists() {
|
||||||
const playlists = this.liked.playlists;
|
const playlists = this.liked.playlists.slice(1);
|
||||||
const userId = this.data.user.userId;
|
const userId = this.data.user.userId;
|
||||||
if (this.playlistFilter === 'mine') {
|
if (this.playlistFilter === 'mine') {
|
||||||
return playlists.filter(p => p.creator.userId === userId);
|
return playlists.filter(p => p.creator.userId === userId);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue