tx-sider 2.2.4 → 2.2.5
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 +7 -7
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -41702,7 +41702,7 @@ const _sfc_main = {
|
|
|
41702
41702
|
}
|
|
41703
41703
|
const changeModule = async (i2) => {
|
|
41704
41704
|
var _a2, _b;
|
|
41705
|
-
let { permissionModuleName,
|
|
41705
|
+
let { permissionModuleName, routerurl, location: location2, moduleName } = i2;
|
|
41706
41706
|
if (!getModeuleInfoDataHandle) {
|
|
41707
41707
|
getModeuleInfoDataHandle = await getModeuleInfoData();
|
|
41708
41708
|
}
|
|
@@ -41711,7 +41711,7 @@ const _sfc_main = {
|
|
|
41711
41711
|
"selectModule",
|
|
41712
41712
|
JSON.stringify({
|
|
41713
41713
|
key: permissionModuleName,
|
|
41714
|
-
routerUrl,
|
|
41714
|
+
routerUrl: routerurl,
|
|
41715
41715
|
title: moduleName,
|
|
41716
41716
|
location: location2
|
|
41717
41717
|
})
|
|
@@ -41720,17 +41720,17 @@ const _sfc_main = {
|
|
|
41720
41720
|
ctx.emit("changeSystemOrModule", moduleName, name);
|
|
41721
41721
|
if (!location2) {
|
|
41722
41722
|
data5.moduleVisible = false;
|
|
41723
|
-
ctx.emit("routerReplace",
|
|
41723
|
+
ctx.emit("routerReplace", routerurl);
|
|
41724
41724
|
return;
|
|
41725
41725
|
}
|
|
41726
41726
|
const hostname2 = window.location.hostname.split(".");
|
|
41727
41727
|
const protocol2 = window.location.protocol;
|
|
41728
41728
|
const md = localStorage.getItem("loginForm");
|
|
41729
41729
|
if (process.env.NODE_ENV == "development") {
|
|
41730
|
-
goUrl.value = `${protocol2}//${location2}.nacho.cn/auth?md=${md}&key=${permissionModuleName}&routerUrl=${
|
|
41730
|
+
goUrl.value = `${protocol2}//${location2}.nacho.cn/auth?md=${md}&key=${permissionModuleName}&routerUrl=${routerurl}&title=${moduleName}&queryLocation=${location2}`;
|
|
41731
41731
|
console.log(goUrl.value, "development++++++++++++++++++++");
|
|
41732
41732
|
} else {
|
|
41733
|
-
goUrl.value = `${protocol2}//${location2}.${hostname2[1]}.${hostname2[2]}/auth?md=${md}&key=${permissionModuleName}&routerUrl=${
|
|
41733
|
+
goUrl.value = `${protocol2}//${location2}.${hostname2[1]}.${hostname2[2]}/auth?md=${md}&key=${permissionModuleName}&routerUrl=${routerurl}&title=${moduleName}&queryLocation=${location2}`;
|
|
41734
41734
|
console.log(goUrl.value, "prodect++++++++++++++++++");
|
|
41735
41735
|
}
|
|
41736
41736
|
if (location2 == "3000" || location2 == "30001" || ModeuleInfo.isSetOfBooks) {
|
|
@@ -42306,7 +42306,7 @@ const _sfc_main = {
|
|
|
42306
42306
|
};
|
|
42307
42307
|
}
|
|
42308
42308
|
};
|
|
42309
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
42309
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-7eda0b19"), n2 = n2(), popScopeId(), n2);
|
|
42310
42310
|
const _hoisted_1 = {
|
|
42311
42311
|
class: "bg-white defaultTS funcTC relative",
|
|
42312
42312
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -43398,7 +43398,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
43398
43398
|
}, 8, ["show"])
|
|
43399
43399
|
], 64);
|
|
43400
43400
|
}
|
|
43401
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
43401
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7eda0b19"]]);
|
|
43402
43402
|
const components = [TSider];
|
|
43403
43403
|
installComponents();
|
|
43404
43404
|
function installComponents() {
|