agilebuilder-ui 1.0.30 → 1.0.31
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 +3 -5
- package/lib/super-ui.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/api/sso-service.js +3 -0
- package/src/permission.js +1 -1
- package/src/styles/theme/dark-blue/index.scss +0 -5
- package/src/utils/permissionAuth.js +5 -4
- package/src/views/dsc-component/tabs/tab-content.vue +2 -2
- package/src/views/layout/components/tabs/tab-content.vue +2 -2
package/lib/super-ui.js
CHANGED
|
@@ -25260,11 +25260,9 @@ function getSystemCode() {
|
|
|
25260
25260
|
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;
|
|
25261
25261
|
}
|
|
25262
25262
|
function getPermissions() {
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
const o = (/* @__PURE__ */ new Date()).getTime();
|
|
25267
|
-
return window.sessionStorage.setItem("getPermissions==>执行时间:", o - e + ""), null;
|
|
25263
|
+
(/* @__PURE__ */ new Date()).getTime();
|
|
25264
|
+
const e = getSystemCode(), t = window.sessionStorage.getItem(permissionKey + e);
|
|
25265
|
+
return t ? JSON.parse(t) : ((/* @__PURE__ */ new Date()).getTime(), null);
|
|
25268
25266
|
}
|
|
25269
25267
|
const headerContextMenu_vue_vue_type_style_index_0_scoped_040fcf55_lang = "", _sfc_main$S = {
|
|
25270
25268
|
name: "HeaderContextMenu",
|