fix: 纠正脏标的判断 (#2268)

This commit is contained in:
5unV 2024-08-07 22:37:29 +08:00 committed by GitHub
parent 904e61bee6
commit 7cb063d511
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -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}`;