From 7cb063d5111c2b66bc8bc20c0ffee255aa6fe55a Mon Sep 17 00:00:00 2001 From: 5unV <31982712+Cinvin@users.noreply.github.com> Date: Wed, 7 Aug 2024 22:37:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BA=A0=E6=AD=A3=E8=84=8F=E6=A0=87?= =?UTF-8?q?=E7=9A=84=E5=88=A4=E6=96=AD=20(#2268)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CoverRow.vue | 2 +- src/components/TrackListItem.vue | 4 ++-- src/views/album.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/CoverRow.vue b/src/components/CoverRow.vue index 77eb66e..46857a4 100644 --- a/src/components/CoverRow.vue +++ b/src/components/CoverRow.vue @@ -96,7 +96,7 @@ export default { return this.type === 'playlist' && item.privacy === 10; }, isExplicit(item) { - return this.type === 'album' && item.mark === 1056768; + return this.type === 'album' && (item.mark & 1048576) === 1048576; }, getTitleLink(item) { return `/${this.type}/${item.id}`; diff --git a/src/components/TrackListItem.vue b/src/components/TrackListItem.vue index 3eef677..becdc40 100644 --- a/src/components/TrackListItem.vue +++ b/src/components/TrackListItem.vue @@ -42,13 +42,13 @@ :exclude="$parent.albumObject.artist.name" prefix="-" /> -
diff --git a/src/views/album.vue b/src/views/album.vue index 7b032b7..439f10b 100644 --- a/src/views/album.vue +++ b/src/views/album.vue @@ -28,7 +28,7 @@ Compilation by Various Artists
- {{