Browse Source

Update new-index.tsx

lex-wxl 1 week ago
parent
commit
595eb5ab19
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/tenant/music/music-detail/new-index.tsx

+ 2 - 2
src/tenant/music/music-detail/new-index.tsx

@@ -89,7 +89,7 @@ export default defineComponent({
      /** 当前用户会员状态 动态判断vip svip */
     const userMemberStatus = computed(() => {
       const userInfo = state.user.data || {}
-      return userInfo.userVip?.vipType === 'NOT_VIP' || !userInfo.userVip?.vipType || users.phone === '18888888888'
+      return userInfo.userVip?.vipType === 'NOT_VIP' || !userInfo.userVip?.vipType || userInfo.phone === '18888888888'
     })
 
     const partColumns = ref<any>([])
@@ -885,7 +885,7 @@ export default defineComponent({
                 styles.alumCollectItem,
                 staffData.imgs.length <= 0 && !staffData.musicPdfUrl
                   ? styles.alumCollectItemActive
-                  : ''
+                  : '',
                 !userMemberStatus.value ? styles.alumCollectItemActive : ''
               ]}
               onClick={() => {