tx-sider 2.1.19 → 2.1.21

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 CHANGED
@@ -27974,6 +27974,7 @@ const _sfc_main = {
27974
27974
  ifRemoveToken();
27975
27975
  };
27976
27976
  const ifRemoveToken = () => {
27977
+ console.log("移除token", route);
27977
27978
  if (route.path == "/login") {
27978
27979
  localStorage.removeItem("token");
27979
27980
  }
@@ -28319,12 +28320,13 @@ const _sfc_main = {
28319
28320
  systemVisibleTrue,
28320
28321
  /*******start 2.0*****/
28321
28322
  permissionModuleList,
28322
- onFunOpen
28323
+ onFunOpen,
28324
+ route
28323
28325
  /*******end*****/
28324
28326
  };
28325
28327
  }
28326
28328
  };
28327
- const _withScopeId = (n2) => (pushScopeId("data-v-5c2109a5"), n2 = n2(), popScopeId(), n2);
28329
+ const _withScopeId = (n2) => (pushScopeId("data-v-459becf3"), n2 = n2(), popScopeId(), n2);
28328
28330
  const _hoisted_1 = {
28329
28331
  class: "bg-white defaultTS funcTC relative",
28330
28332
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -29277,7 +29279,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29277
29279
  }, 8, ["show"])
29278
29280
  ], 64);
29279
29281
  }
29280
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5c2109a5"]]);
29282
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-459becf3"]]);
29281
29283
  const components = [TSider];
29282
29284
  installComponents();
29283
29285
  function installComponents() {