Browse Source

fix: 修复用户权益前置判断问题

zhangyuhan 1 year ago
parent
commit
973dc17b01
1 changed files with 8 additions and 1 deletions
  1. 8 1
      apps/bigmember_pc/src/views/portrayal/UnitPortrayal.vue

+ 8 - 1
apps/bigmember_pc/src/views/portrayal/UnitPortrayal.vue

@@ -836,7 +836,14 @@ export default {
       return this.loading || !this.getTrailLoaded
       return this.loading || !this.getTrailLoaded
     },
     },
     getTrailLoaded () {
     getTrailLoaded () {
-      return this.freeTrialLoaded
+      const info = this.userInfo
+      // 免费用户 体验过期 浏览过
+      const freeTail = info.isFree && info.freeBuyerPort < 0
+      if (freeTail) {
+        return this.freeTrialLoaded
+      } else {
+        return true
+      }
     },
     },
     conf7() {
     conf7() {
       const power = this.userInfo.power
       const power = this.userInfo.power