ps-toolkit-ui 1.3.43 → 1.3.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7189,14 +7189,17 @@
7189
7189
  return app.getL("" + c + (a ? "." + a : ''), key, v);
7190
7190
  };
7191
7191
  this.permissions = this.getPermission(this.c, this.a);
7192
+ console.log(this.permissions, 'this.permissions');
7192
7193
  if (this.permissions) {
7193
7194
  this.permissions.Area = app.area;
7195
+ console.log(this.permissions.Area, 'this.permissions.Area');
7194
7196
  }
7195
7197
  }
7196
7198
  BaseComponent.prototype.getPermission = function (c, a) {
7197
7199
  if (a === void 0) { a = null; }
7198
7200
  var p = this.app.currentData.permissions.filter(function (per) { return per.Controller === c && (a == null || per.Action === a) &&
7199
7201
  per.Type === exports.PermissionTypeEnum.Item; });
7202
+ console.log(p, 'pppppp');
7200
7203
  return p.length > 0 ? this.getPermissionClass(p[0]) : null;
7201
7204
  };
7202
7205
  BaseComponent.prototype.getPermissionClass = function (p) {