fix: 艺人页面专辑区不显示精选集 (#2046)

This commit is contained in:
Kris Hu 2023-05-02 00:24:08 +08:00 committed by GitHub
parent 221ca63d3d
commit 1b7e33c222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -241,7 +241,9 @@ export default {
computed: {
...mapState(['player']),
albums() {
return this.albumsData.filter(a => a.type === '专辑');
return this.albumsData.filter(
a => a.type === '专辑' || a.type === '精选集'
);
},
eps() {
return this.albumsData.filter(a =>