tx-sider 2.1.16 → 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;
@@ -27946,13 +27946,14 @@ const _sfc_main = {
27946
27946
  moduleTestS.value = ((_a = permissionModuleList.value.find(
27947
27947
  (_x) => _x.permissionModuleName === selectedSystems.value ? selectedSystems.value : systemed
27948
27948
  )) == null ? void 0 : _a.childGroups) ?? [];
27949
+ console.log("moduleTestS.value", moduleTestS.value);
27949
27950
  if (moduleTestS.value.length == 0) {
27950
27951
  console.log("🚀🚀");
27951
27952
  message.info("äŊ æš‚无权限īŧŒč¯ˇč”įŗģįŽĄį†å‘˜åˆ†é…");
27952
27953
  } else if (moduleTestS.value.length == 1) {
27953
27954
  changeModule(moduleTestS.value[0]);
27954
27955
  } else {
27955
- clickModuleVisible();
27956
+ clickModuleVisible(systemed);
27956
27957
  }
27957
27958
  };
27958
27959
  const changesystem = (i2) => {
@@ -28304,7 +28305,7 @@ const _sfc_main = {
28304
28305
  };
28305
28306
  }
28306
28307
  };
28307
- const _withScopeId = (n2) => (pushScopeId("data-v-af82fa20"), n2 = n2(), popScopeId(), n2);
28308
+ const _withScopeId = (n2) => (pushScopeId("data-v-26b14a39"), n2 = n2(), popScopeId(), n2);
28308
28309
  const _hoisted_1 = {
28309
28310
  class: "bg-white defaultTS funcTC relative",
28310
28311
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -29257,7 +29258,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29257
29258
  }, 8, ["show"])
29258
29259
  ], 64);
29259
29260
  }
29260
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-af82fa20"]]);
29261
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-26b14a39"]]);
29261
29262
  const components = [TSider];
29262
29263
  installComponents();
29263
29264
  function installComponents() {