mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 12:47:27 +08:00
fix: 解决某些歌曲(如已购专辑)能播放但仍然变灰的问题 (#1173)
This commit is contained in:
parent
f9ad6aef05
commit
98ac9fd1ac
|
@ -9,6 +9,9 @@ export function isTrackPlayable(track) {
|
|||
playable: true,
|
||||
reason: '',
|
||||
};
|
||||
if (track?.privilege?.pl > 0) {
|
||||
return result;
|
||||
}
|
||||
// cloud storage judgement logic
|
||||
if (isAccountLoggedIn() && track?.privilege?.cs) {
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue
Block a user