tx-sider 2.1.15 → 2.1.18

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
@@ -27932,7 +27932,7 @@ const _sfc_main = {
27932
27932
  var _a;
27933
27933
  data3.moduleVisible = true;
27934
27934
  moduleTestS.value = ((_a = permissionModuleList.value.find(
27935
- (_x) => _x.permissionModuleName === selectedSystems.value
27935
+ (_x) => _x.permissionModuleName === selectedSystems.value ? selectedSystems.value : systemed
27936
27936
  )) == null ? void 0 : _a.childGroups) ?? [];
27937
27937
  if (moduleTestS.value.length == 1) {
27938
27938
  ModuleShow.value = false;
@@ -27941,17 +27941,19 @@ 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) ?? [];
27949
+ console.log("moduleTestS.value", moduleTestS.value);
27948
27950
  if (moduleTestS.value.length == 0) {
27949
27951
  console.log("🚀🚀");
27950
27952
  message.info("äŊ æš‚无权限īŧŒč¯ˇč”įŗģįŽĄį†å‘˜åˆ†é…");
27951
27953
  } else if (moduleTestS.value.length == 1) {
27952
27954
  changeModule(moduleTestS.value[0]);
27953
27955
  } else {
27954
- clickModuleVisible();
27956
+ clickModuleVisible(systemed);
27955
27957
  }
27956
27958
  };
27957
27959
  const changesystem = (i2) => {
@@ -28248,7 +28250,7 @@ const _sfc_main = {
28248
28250
  console.log("🚀");
28249
28251
  message.info("äŊ æš‚无权限īŧŒč¯ˇč”įŗģįŽĄį†å‘˜åˆ†é…");
28250
28252
  } else if (permissionModuleList.value.length === 1) {
28251
- oneModule(permissionModuleList.value[0].name);
28253
+ oneModule(permissionModuleList.value[0].permissionModuleName);
28252
28254
  } else {
28253
28255
  systemVisibleTrue();
28254
28256
  }
@@ -28303,7 +28305,7 @@ const _sfc_main = {
28303
28305
  };
28304
28306
  }
28305
28307
  };
28306
- const _withScopeId = (n2) => (pushScopeId("data-v-f1a6d088"), n2 = n2(), popScopeId(), n2);
28308
+ const _withScopeId = (n2) => (pushScopeId("data-v-26b14a39"), n2 = n2(), popScopeId(), n2);
28307
28309
  const _hoisted_1 = {
28308
28310
  class: "bg-white defaultTS funcTC relative",
28309
28311
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -29256,7 +29258,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29256
29258
  }, 8, ["show"])
29257
29259
  ], 64);
29258
29260
  }
29259
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-f1a6d088"]]);
29261
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-26b14a39"]]);
29260
29262
  const components = [TSider];
29261
29263
  installComponents();
29262
29264
  function installComponents() {