tx-sider 2.1.20 → 2.1.23
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 -5
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -27615,6 +27615,11 @@ const _sfc_main = {
|
|
|
27615
27615
|
type: String,
|
|
27616
27616
|
default: "账套"
|
|
27617
27617
|
},
|
|
27618
|
+
isLogin: {
|
|
27619
|
+
// 更改账套名称
|
|
27620
|
+
type: Boolean,
|
|
27621
|
+
default: false
|
|
27622
|
+
},
|
|
27618
27623
|
baseShow: Boolean,
|
|
27619
27624
|
// 是否显示基地功能
|
|
27620
27625
|
allBasesShow: Boolean,
|
|
@@ -27646,6 +27651,8 @@ const _sfc_main = {
|
|
|
27646
27651
|
setup(props, ctx) {
|
|
27647
27652
|
useRouter();
|
|
27648
27653
|
const route = useRoute();
|
|
27654
|
+
console.log("route999999", route);
|
|
27655
|
+
console.log("rout🚀🚀🚀9999", route.path);
|
|
27649
27656
|
const changePWDref = ref();
|
|
27650
27657
|
const moduleTestS = ref([]);
|
|
27651
27658
|
const isSystems = ref(props.isSystems);
|
|
@@ -27974,8 +27981,7 @@ const _sfc_main = {
|
|
|
27974
27981
|
ifRemoveToken();
|
|
27975
27982
|
};
|
|
27976
27983
|
const ifRemoveToken = () => {
|
|
27977
|
-
|
|
27978
|
-
if (route.path == "/login") {
|
|
27984
|
+
if (props.isLogin) {
|
|
27979
27985
|
localStorage.removeItem("token");
|
|
27980
27986
|
}
|
|
27981
27987
|
};
|
|
@@ -28320,12 +28326,13 @@ const _sfc_main = {
|
|
|
28320
28326
|
systemVisibleTrue,
|
|
28321
28327
|
/*******start 2.0*****/
|
|
28322
28328
|
permissionModuleList,
|
|
28323
|
-
onFunOpen
|
|
28329
|
+
onFunOpen,
|
|
28330
|
+
route
|
|
28324
28331
|
/*******end*****/
|
|
28325
28332
|
};
|
|
28326
28333
|
}
|
|
28327
28334
|
};
|
|
28328
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28335
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-3d9b5190"), n2 = n2(), popScopeId(), n2);
|
|
28329
28336
|
const _hoisted_1 = {
|
|
28330
28337
|
class: "bg-white defaultTS funcTC relative",
|
|
28331
28338
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29278,7 +29285,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29278
29285
|
}, 8, ["show"])
|
|
29279
29286
|
], 64);
|
|
29280
29287
|
}
|
|
29281
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29288
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3d9b5190"]]);
|
|
29282
29289
|
const components = [TSider];
|
|
29283
29290
|
installComponents();
|
|
29284
29291
|
function installComponents() {
|