Kaynağa Gözat

fix: 招标动态添加24,25,4权限

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 yıl önce
ebeveyn
işleme
b1b023dadb

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/unit_portrayal.js

@@ -217,7 +217,7 @@ var vNode = {
       var info = this.userInfo
       var isFreeAuth = info.isFree && info.freeBuyerPort > 0
       var isVipAuth = info.vipStatus > 0 && info.viper && this.usageInfo.surplus > 0
-      const hasPower = this.power.includes(5) && this.power.includes(24) && this.power.includes(25) && this.power.includes(4)
+      const hasPower = this.power.includes(5) || this.power.includes(24) || this.power.includes(25) || this.power.includes(4)
       var isMember = this.power && hasPower
       // 超级订阅用户是否访问过该画像
       var vipTrial = info.vipStatus > 0 && info.viper && this.usageInfo.surplus <= 0 && this.usageInfo.visited

+ 1 - 1
src/web/staticres/big-member/js/unit_portrayal.js

@@ -217,7 +217,7 @@ var vNode = {
           var info = this.userInfo
           var isFreeAuth = info.isFree && info.freeBuyerPort > 0
           var isVipAuth = info.vipStatus > 0 && info.viper && this.usageInfo.surplus > 0
-          const hasPower = this.power.includes(5) && this.power.includes(24) && this.power.includes(25) && this.power.includes(4)
+          const hasPower = this.power.includes(5) || this.power.includes(24) || this.power.includes(25) || this.power.includes(4)
           var isMember = this.power && hasPower
           // 超级订阅用户是否访问过该画像
           var vipTrial = info.vipStatus > 0 && info.viper && this.usageInfo.surplus <= 0 && this.usageInfo.visited