Quellcode durchsuchen

fix: 企业画像无权限逻辑调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe vor 6 Monaten
Ursprung
Commit
352a074e69
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/web/staticres/common-module/collection/js/ent_portrait.js

+ 1 - 1
src/web/staticres/common-module/collection/js/ent_portrait.js

@@ -934,7 +934,7 @@ var vNode = {
           const monitorEntNum = surplus + used  // 可监控企业总数
           const monitorEntNum = surplus + used  // 可监控企业总数
           let limit = this.powerInfo.memberStatus > 0 || this.powerInfo.entniche
           let limit = this.powerInfo.memberStatus > 0 || this.powerInfo.entniche
           // 1.超出可监控企业数量
           // 1.超出可监控企业数量
-          if (used <= 0) {
+          if (surplus <= 0) {
             // 大会员或商机管理用户
             // 大会员或商机管理用户
             if (limit) {
             if (limit) {
               this.$dialog({
               this.$dialog({