Browse Source

feat: vip列表弹窗逻辑修改

TIANYONG 3 months ago
parent
commit
5b8a2621d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/page-instrument/component/the-music-list/list.tsx

+ 1 - 1
src/page-instrument/component/the-music-list/list.tsx

@@ -115,7 +115,7 @@ export default defineComponent({
           }
         }
         // 如果是vip的曲子,当前用户不是会员时,需要弹窗提醒
-        if (storeData.user.vipType === "NOT_VIP" && item.paymentType !== "FREE") {
+        if (state.vipType === "NOT_VIP" && item.paymentType !== "FREE") {
           permissionPopup.active = item.paymentType.includes('CHARGE') ? "memberAndDemand" : "member"
           permissionPopup.musicId = item.id
           permissionPopup.musicPrice = item.musicPrice