tx-sider 2.1.21 → 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 +10 -4
- 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
|
};
|
|
@@ -28326,7 +28332,7 @@ const _sfc_main = {
|
|
|
28326
28332
|
};
|
|
28327
28333
|
}
|
|
28328
28334
|
};
|
|
28329
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28335
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-3d9b5190"), n2 = n2(), popScopeId(), n2);
|
|
28330
28336
|
const _hoisted_1 = {
|
|
28331
28337
|
class: "bg-white defaultTS funcTC relative",
|
|
28332
28338
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29279,7 +29285,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29279
29285
|
}, 8, ["show"])
|
|
29280
29286
|
], 64);
|
|
29281
29287
|
}
|
|
29282
|
-
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"]]);
|
|
29283
29289
|
const components = [TSider];
|
|
29284
29290
|
installComponents();
|
|
29285
29291
|
function installComponents() {
|