From 98ac9fd1acec6bc80b060be515608052549a04cf Mon Sep 17 00:00:00 2001 From: chen310 <33364396+chen310@users.noreply.github.com> Date: Tue, 4 Jan 2022 18:35:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=9F=90=E4=BA=9B?= =?UTF-8?q?=E6=AD=8C=E6=9B=B2=EF=BC=88=E5=A6=82=E5=B7=B2=E8=B4=AD=E4=B8=93?= =?UTF-8?q?=E8=BE=91=EF=BC=89=E8=83=BD=E6=92=AD=E6=94=BE=E4=BD=86=E4=BB=8D?= =?UTF-8?q?=E7=84=B6=E5=8F=98=E7=81=B0=E7=9A=84=E9=97=AE=E9=A2=98=20(#1173?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/common.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/common.js b/src/utils/common.js index b7f2355..0e6b2ff 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -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;