瀏覽代碼

Merge branch 'main' into staging

lex-wxl 5 天之前
父節點
當前提交
60f4209ce5
共有 3 個文件被更改,包括 1 次插入2 次删除
  1. 0 0
      dist/js/952.6be7676b.js
  2. 0 0
      dist/js/app.83df9bad.js
  3. 1 2
      src/store/modules/user.ts

File diff suppressed because it is too large
+ 0 - 0
dist/js/952.6be7676b.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.83df9bad.js


+ 1 - 2
src/store/modules/user.ts

@@ -116,8 +116,7 @@ function handleUserInfo(userType: rolesType, userInfo: Record<string, any>) {
       realName = userInfo.realName
       phone = userInfo.phone
       subjectId = userInfo.subjectId
-      // userInfo.userVip?.vipType === 'NOT_VIP' || !userInfo.userVip?.vipType ||
-      isVip = userInfo.userVip ? false : userInfo.userVip?.vipType === "NOT_VIP" || !userInfo.userVip?.vipType ? true : false
+      isVip = userInfo.userVip ? (userInfo.userVip?.vipType === "NOT_VIP" || !userInfo.userVip?.vipType ? true : false) : false
    } else {
       avatar = userInfo.avatar
       username = userInfo.nickname

Some files were not shown because too many files changed in this diff