mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
This commit is contained in:
parent
1374fbd450
commit
39e461cd5e
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ export function isTrackPlayable(track) {
|
|||
playable: true,
|
||||
reason: "",
|
||||
};
|
||||
// cloud storage judgement logic
|
||||
if (isAccountLoggedIn() && track?.privilege?.cs) {
|
||||
return result;
|
||||
}
|
||||
if (track.fee === 1 || track.privilege?.fee === 1) {
|
||||
if (isAccountLoggedIn() && store.state.data.user.vipType === 11) {
|
||||
result.playable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue