tx-sider 2.4.7 → 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 +12 -7
- package/lib/TXUI.umd.js +15 -15
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -22218,10 +22218,10 @@ const __unplugin_components_0 = _extends$1(Upload, {
|
|
|
22218
22218
|
}
|
|
22219
22219
|
});
|
|
22220
22220
|
const routes = [
|
|
22221
|
-
|
|
22222
|
-
|
|
22223
|
-
|
|
22224
|
-
|
|
22221
|
+
{
|
|
22222
|
+
path: "/",
|
|
22223
|
+
component: TSider
|
|
22224
|
+
}
|
|
22225
22225
|
];
|
|
22226
22226
|
const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22227
22227
|
__proto__: null,
|
|
@@ -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
|
},
|
|
@@ -55059,7 +55061,10 @@ const _sfc_main = {
|
|
|
55059
55061
|
var _a3, _b3, _c2, _d2, _e2, _f2;
|
|
55060
55062
|
await getUnReadMessage(0);
|
|
55061
55063
|
await getUserFlowData();
|
|
55062
|
-
|
|
55064
|
+
console.log("~~~~route", route);
|
|
55065
|
+
const currentPath = props.routePath || (route == null ? void 0 : route.path) || "";
|
|
55066
|
+
console.log("~~~~currentPath", currentPath);
|
|
55067
|
+
if (currentPath !== "/login") {
|
|
55063
55068
|
GetUserOperationTotalApi("default");
|
|
55064
55069
|
}
|
|
55065
55070
|
getModeuleInfoDataHandle = await getModeuleInfoData();
|
|
@@ -55892,7 +55897,7 @@ const _sfc_main = {
|
|
|
55892
55897
|
};
|
|
55893
55898
|
}
|
|
55894
55899
|
};
|
|
55895
|
-
const _withScopeId = (n10) => (pushScopeId("data-v-
|
|
55900
|
+
const _withScopeId = (n10) => (pushScopeId("data-v-3e614bb7"), n10 = n10(), popScopeId(), n10);
|
|
55896
55901
|
const _hoisted_1 = {
|
|
55897
55902
|
class: "bg-white defaultTS funcTC relative",
|
|
55898
55903
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -57299,7 +57304,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
57299
57304
|
}, null, 8, ["visible", "onClose", "review-data"])
|
|
57300
57305
|
], 64);
|
|
57301
57306
|
}
|
|
57302
|
-
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"]]);
|
|
57303
57308
|
const style = "";
|
|
57304
57309
|
const components = [TSider];
|
|
57305
57310
|
installComponents();
|