Skip to content

Commit

Permalink
fix: 解决某些歌曲(如已购专辑)能播放但仍然变灰的问题 (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
chen310 committed Jan 4, 2022
1 parent f9ad6ae commit 98ac9fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/common.js
Expand Up @@ -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;
Expand Down

0 comments on commit 98ac9fd

Please sign in to comment.