agilebuilder-ui 1.0.34 → 1.0.36

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.
package/lib/super-ui.js CHANGED
@@ -25268,7 +25268,7 @@ function getSystemCode() {
25268
25268
  let e;
25269
25269
  return window.$vueApp.config.globalProperties.customSystem ? e = window.$vueApp.config.globalProperties.customSystem : window.$vueApp.config.globalProperties.currentSystem ? e = window.$vueApp.config.globalProperties.currentSystem : e = window.$vueApp.config.globalProperties.systemCode, e;
25270
25270
  }
25271
- function getPermissions() {
25271
+ function getTotalPermissions() {
25272
25272
  (/* @__PURE__ */ new Date()).getTime();
25273
25273
  let e;
25274
25274
  const t = getSessionCache(_RUN_PERMISSION);
@@ -25277,7 +25277,7 @@ function getPermissions() {
25277
25277
  const o = getSystemCode(), i = window.sessionStorage.getItem(permissionKey + o);
25278
25278
  if (i && (n = JSON.parse(i)), (/* @__PURE__ */ new Date()).getTime(), e || n) {
25279
25279
  let l = {};
25280
- return e && Object.assign(l, e), n && Object.assign(l, n), console.log("getPermissions----permissions=", l), l;
25280
+ return e && Object.assign(l, e), n && Object.assign(l, n), console.log("getTotalPermissions----permissions=", l), l;
25281
25281
  }
25282
25282
  return null;
25283
25283
  }
@@ -25328,7 +25328,7 @@ const headerContextMenu = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render",
25328
25328
  function checkPermission(e) {
25329
25329
  if (e) {
25330
25330
  let t = !1;
25331
- const n = getPermissions();
25331
+ const n = getTotalPermissions();
25332
25332
  if (typeof n < "u" && n !== null) {
25333
25333
  const o = e.split(",");
25334
25334
  for (let i = 0; i < o.length; i++) {