浏览代码

feat: 修复错误判断用户身份逻辑

zhangyuhan 3 年之前
父节点
当前提交
1e67916282
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/web/staticres/common-module/vipsubscribe/js/vip-subscribe-set-template.js

+ 1 - 2
src/web/staticres/common-module/vipsubscribe/js/vip-subscribe-set-template.js

@@ -259,7 +259,6 @@ var subComponent = {
       conf: {}, // 信息类型数据
       noAreaFreeType: false, // 免费用户未设置地区时显示弹窗
       backTipShowCount: 0, // 离开页面展示弹窗次数
-      thisvSwitch: 'f',
       UserSubscribe: {}, // 免费用户数据
     }
   },
@@ -515,7 +514,7 @@ var subComponent = {
       $('.match-keywords-actionsheet').hide()
       $iosMask.fadeOut(200);
       // 免费用户
-      if (this.thisvSwitch === 'f') {
+      if (this.vSwitch === 'f') {
         return
       }
       // 超级订阅升级提示