tx-sider 2.4.8 → 2.4.9
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 -4
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -54920,6 +54920,8 @@ const _sfc_main = {
|
|
|
54920
54920
|
// 所属的模块
|
|
54921
54921
|
menuTitle: String,
|
|
54922
54922
|
// 模块名称
|
|
54923
|
+
routePath: String,
|
|
54924
|
+
// 当前路由路径 - 可选,用于外部传入路由信息,提高组件兼容性
|
|
54923
54925
|
modeuleType: String
|
|
54924
54926
|
// 模块类型
|
|
54925
54927
|
},
|
|
@@ -55060,8 +55062,9 @@ const _sfc_main = {
|
|
|
55060
55062
|
await getUnReadMessage(0);
|
|
55061
55063
|
await getUserFlowData();
|
|
55062
55064
|
console.log("~~~~route", route);
|
|
55063
|
-
|
|
55064
|
-
|
|
55065
|
+
const currentPath = props.routePath || (route == null ? void 0 : route.path) || "";
|
|
55066
|
+
console.log("~~~~currentPath", currentPath);
|
|
55067
|
+
if (currentPath !== "/login") {
|
|
55065
55068
|
GetUserOperationTotalApi("default");
|
|
55066
55069
|
}
|
|
55067
55070
|
getModeuleInfoDataHandle = await getModeuleInfoData();
|
|
@@ -55894,7 +55897,7 @@ const _sfc_main = {
|
|
|
55894
55897
|
};
|
|
55895
55898
|
}
|
|
55896
55899
|
};
|
|
55897
|
-
const _withScopeId = (n10) => (pushScopeId("data-v-
|
|
55900
|
+
const _withScopeId = (n10) => (pushScopeId("data-v-3e614bb7"), n10 = n10(), popScopeId(), n10);
|
|
55898
55901
|
const _hoisted_1 = {
|
|
55899
55902
|
class: "bg-white defaultTS funcTC relative",
|
|
55900
55903
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -57301,7 +57304,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
57301
57304
|
}, null, 8, ["visible", "onClose", "review-data"])
|
|
57302
57305
|
], 64);
|
|
57303
57306
|
}
|
|
57304
|
-
const TSider = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
57307
|
+
const TSider = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3e614bb7"]]);
|
|
57305
57308
|
const style = "";
|
|
57306
57309
|
const components = [TSider];
|
|
57307
57310
|
installComponents();
|