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