ps-toolkit-ui 1.8.28 → 1.8.30

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.
@@ -7996,7 +7996,7 @@
7996
7996
  this.permission = false;
7997
7997
  return;
7998
7998
  }
7999
- if (!this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; }) && this.form.onTop) {
7999
+ if (this.form != null && this.form.onTop && !this.permissions.getAccesses().some(function (x) { return x.AccessType === exports.PermissionAccessTypeEnum.Insert; })) {
8000
8000
  this.form = null;
8001
8001
  }
8002
8002
  var _loop_1 = function (access) {