tx-sider 2.1.12 → 2.1.13

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
@@ -27673,7 +27673,7 @@ const _sfc_main = {
27673
27673
  });
27674
27674
  const refData = toRefs(data3);
27675
27675
  ref(JSON.parse(localStorage.getItem("AccessData")));
27676
- const iconUrl = process.env.NODE_ENV == "development" ? "https://basis.nacho.cn" : "https://basis.nacho.cn";
27676
+ const iconUrl = process.env.NODE_ENV == "development" ? "https://localhost:7110" : "https://basis.nacho.cn";
27677
27677
  const [ccflowData, onClickTodo] = useCcflowCall();
27678
27678
  watch(
27679
27679
  () => props.isSystems,
@@ -27716,7 +27716,6 @@ const _sfc_main = {
27716
27716
  const getPermissionModuleListData = async () => {
27717
27717
  const res = await getPermissionModuleList();
27718
27718
  permissionModuleList.value = updateIconModuleList(res);
27719
- console.log("~🚀123🚀~", permissionModuleList.value);
27720
27719
  };
27721
27720
  function updateIconModuleList(treeList) {
27722
27721
  for (let item of treeList) {
@@ -28241,20 +28240,15 @@ const _sfc_main = {
28241
28240
  data3.systemVisible = true;
28242
28241
  };
28243
28242
  const onFunOpen = async () => {
28244
- localStorage.removeItem("selectModule");
28245
- await getPermissionModuleList().then((res) => {
28246
- permissionModuleList.value = updateIconModuleList(res);
28247
- if (permissionModuleList.value.length === 0) {
28248
- console.log("~🚀456🚀~", permissionModuleList.value);
28249
- message.info("äŊ æš‚无权限īŧŒč¯ˇč”įŗģįŽĄį†å‘˜åˆ†é…");
28250
- } else if (permissionModuleList.value.length === 1) {
28251
- oneModule(permissionModuleList.value[0].name);
28252
- } else {
28253
- systemVisibleTrue();
28254
- }
28255
- }).catch((error) => {
28256
- console.log("error", error);
28257
- });
28243
+ await getPermissionModuleListData();
28244
+ console.log("🚀🚀🚀🚀", permissionModuleList.value);
28245
+ if (permissionModuleList.value.length === 0) {
28246
+ message.info("äŊ æš‚无权限īŧŒč¯ˇč”įŗģįŽĄį†å‘˜åˆ†é…");
28247
+ } else if (permissionModuleList.value.length === 1) {
28248
+ oneModule(permissionModuleList.value[0].name);
28249
+ } else {
28250
+ systemVisibleTrue();
28251
+ }
28258
28252
  };
28259
28253
  return {
28260
28254
  ...refData,
@@ -28306,7 +28300,7 @@ const _sfc_main = {
28306
28300
  };
28307
28301
  }
28308
28302
  };
28309
- const _withScopeId = (n2) => (pushScopeId("data-v-2a69745e"), n2 = n2(), popScopeId(), n2);
28303
+ const _withScopeId = (n2) => (pushScopeId("data-v-4034a3a6"), n2 = n2(), popScopeId(), n2);
28310
28304
  const _hoisted_1 = {
28311
28305
  class: "bg-white defaultTS funcTC relative",
28312
28306
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -29259,7 +29253,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29259
29253
  }, 8, ["show"])
29260
29254
  ], 64);
29261
29255
  }
29262
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2a69745e"]]);
29256
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4034a3a6"]]);
29263
29257
  const components = [TSider];
29264
29258
  installComponents();
29265
29259
  function installComponents() {