tx-sider 2.1.8 → 2.1.10
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/TXUI.mjs +14 -10
- package/lib/TXUI.umd.js +2 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -24505,11 +24505,15 @@ const _sfc_main$1 = {
|
|
|
24505
24505
|
menuTitle.value = props.menuTitle;
|
|
24506
24506
|
}
|
|
24507
24507
|
);
|
|
24508
|
-
|
|
24509
|
-
|
|
24510
|
-
|
|
24508
|
+
const route = useRoute();
|
|
24509
|
+
watch(
|
|
24510
|
+
() => props.module,
|
|
24511
|
+
() => {
|
|
24512
|
+
if (props.module && route.path !== "/login") {
|
|
24513
|
+
getMenuList();
|
|
24514
|
+
}
|
|
24511
24515
|
}
|
|
24512
|
-
|
|
24516
|
+
);
|
|
24513
24517
|
const menuList = ref([]);
|
|
24514
24518
|
const getMenuList = async () => {
|
|
24515
24519
|
const { items } = await getPermissionSetOfBookMenuList(props.module);
|
|
@@ -24547,7 +24551,7 @@ const _sfc_main$1 = {
|
|
|
24547
24551
|
};
|
|
24548
24552
|
}
|
|
24549
24553
|
};
|
|
24550
|
-
const _withScopeId$1 = (n2) => (pushScopeId("data-v-
|
|
24554
|
+
const _withScopeId$1 = (n2) => (pushScopeId("data-v-629ca66a"), n2 = n2(), popScopeId(), n2);
|
|
24551
24555
|
const _hoisted_1$1 = {
|
|
24552
24556
|
key: 0,
|
|
24553
24557
|
class: "w-[80px] flex flex-col justify-center focusTC bb-f5f5f5 br-f5f5f5",
|
|
@@ -24668,7 +24672,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
24668
24672
|
}, 8, ["activeKey"])
|
|
24669
24673
|
]);
|
|
24670
24674
|
}
|
|
24671
|
-
const EconomicsSider = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
24675
|
+
const EconomicsSider = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-629ca66a"]]);
|
|
24672
24676
|
window.location.hostname.split(".");
|
|
24673
24677
|
function encryptionStr(data3) {
|
|
24674
24678
|
if (data3 === null || data3 === void 0) {
|
|
@@ -28013,10 +28017,10 @@ const _sfc_main = {
|
|
|
28013
28017
|
setSetOfBookIdToCookie(res);
|
|
28014
28018
|
setTokenToCookie();
|
|
28015
28019
|
}
|
|
28016
|
-
currentBaseGet().then((res2) => {
|
|
28020
|
+
res ? currentBaseGet().then((res2) => {
|
|
28017
28021
|
localStorage.setItem("baseId", res2);
|
|
28018
28022
|
baseId.value = localStorage.getItem("baseId");
|
|
28019
|
-
});
|
|
28023
|
+
}) : "";
|
|
28020
28024
|
});
|
|
28021
28025
|
const getOfbooksTest = (id, showModal = true) => {
|
|
28022
28026
|
const okHandle = async () => {
|
|
@@ -28306,7 +28310,7 @@ const _sfc_main = {
|
|
|
28306
28310
|
};
|
|
28307
28311
|
}
|
|
28308
28312
|
};
|
|
28309
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28313
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-17ea20fa"), n2 = n2(), popScopeId(), n2);
|
|
28310
28314
|
const _hoisted_1 = {
|
|
28311
28315
|
class: "bg-white defaultTS funcTC relative",
|
|
28312
28316
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29259,7 +29263,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29259
29263
|
}, 8, ["show"])
|
|
29260
29264
|
], 64);
|
|
29261
29265
|
}
|
|
29262
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29266
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-17ea20fa"]]);
|
|
29263
29267
|
const components = [TSider];
|
|
29264
29268
|
installComponents();
|
|
29265
29269
|
function installComponents() {
|