tx-sider 2.1.14 → 2.1.16

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://localhost:7110" : "https://basis.nacho.cn";
27676
+ const iconUrl = process.env.NODE_ENV == "development" ? "https://basis.nacho.cn" : "https://basis.nacho.cn";
27677
27677
  const [ccflowData, onClickTodo] = useCcflowCall();
27678
27678
  watch(
27679
27679
  () => props.isSystems,
@@ -27941,9 +27941,10 @@ const _sfc_main = {
27941
27941
  const oneModule = async (systemed) => {
27942
27942
  var _a;
27943
27943
  console.log("selectedSystems.value", selectedSystems.value);
27944
+ console.log("systemed", systemed);
27944
27945
  await getPermissionModuleListData();
27945
27946
  moduleTestS.value = ((_a = permissionModuleList.value.find(
27946
- (_x) => _x.permissionModuleName === selectedSystems.value
27947
+ (_x) => _x.permissionModuleName === selectedSystems.value ? selectedSystems.value : systemed
27947
27948
  )) == null ? void 0 : _a.childGroups) ?? [];
27948
27949
  if (moduleTestS.value.length == 0) {
27949
27950
  console.log("🚀🚀");
@@ -28248,7 +28249,7 @@ const _sfc_main = {
28248
28249
  console.log("🚀");
28249
28250
  message.info("äŊ æš‚无权限īŧŒč¯ˇč”įŗģįŽĄį†å‘˜åˆ†é…");
28250
28251
  } else if (permissionModuleList.value.length === 1) {
28251
- oneModule(permissionModuleList.value[0].name);
28252
+ oneModule(permissionModuleList.value[0].permissionModuleName);
28252
28253
  } else {
28253
28254
  systemVisibleTrue();
28254
28255
  }
@@ -28303,7 +28304,7 @@ const _sfc_main = {
28303
28304
  };
28304
28305
  }
28305
28306
  };
28306
- const _withScopeId = (n2) => (pushScopeId("data-v-4189a9ce"), n2 = n2(), popScopeId(), n2);
28307
+ const _withScopeId = (n2) => (pushScopeId("data-v-af82fa20"), n2 = n2(), popScopeId(), n2);
28307
28308
  const _hoisted_1 = {
28308
28309
  class: "bg-white defaultTS funcTC relative",
28309
28310
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -29256,7 +29257,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29256
29257
  }, 8, ["show"])
29257
29258
  ], 64);
29258
29259
  }
29259
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4189a9ce"]]);
29260
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-af82fa20"]]);
29260
29261
  const components = [TSider];
29261
29262
  installComponents();
29262
29263
  function installComponents() {