tx-sider 2.1.12 → 2.1.14

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) {
@@ -27941,11 +27940,13 @@ const _sfc_main = {
27941
27940
  };
27942
27941
  const oneModule = async (systemed) => {
27943
27942
  var _a;
27943
+ console.log("selectedSystems.value", selectedSystems.value);
27944
27944
  await getPermissionModuleListData();
27945
27945
  moduleTestS.value = ((_a = permissionModuleList.value.find(
27946
27946
  (_x) => _x.permissionModuleName === selectedSystems.value
27947
27947
  )) == null ? void 0 : _a.childGroups) ?? [];
27948
27948
  if (moduleTestS.value.length == 0) {
27949
+ console.log("🚀🚀");
27949
27950
  message.info("äŊ æš‚无权限īŧŒč¯ˇč”įŗģįŽĄį†å‘˜åˆ†é…");
27950
27951
  } else if (moduleTestS.value.length == 1) {
27951
27952
  changeModule(moduleTestS.value[0]);
@@ -28241,20 +28242,16 @@ const _sfc_main = {
28241
28242
  data3.systemVisible = true;
28242
28243
  };
28243
28244
  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
- });
28245
+ await getPermissionModuleListData();
28246
+ console.log("🚀🚀🚀🚀", permissionModuleList.value);
28247
+ if (permissionModuleList.value.length === 0) {
28248
+ console.log("🚀");
28249
+ message.info("äŊ æš‚无权限īŧŒč¯ˇč”įŗģįŽĄį†å‘˜åˆ†é…");
28250
+ } else if (permissionModuleList.value.length === 1) {
28251
+ oneModule(permissionModuleList.value[0].name);
28252
+ } else {
28253
+ systemVisibleTrue();
28254
+ }
28258
28255
  };
28259
28256
  return {
28260
28257
  ...refData,
@@ -28306,7 +28303,7 @@ const _sfc_main = {
28306
28303
  };
28307
28304
  }
28308
28305
  };
28309
- const _withScopeId = (n2) => (pushScopeId("data-v-2a69745e"), n2 = n2(), popScopeId(), n2);
28306
+ const _withScopeId = (n2) => (pushScopeId("data-v-4189a9ce"), n2 = n2(), popScopeId(), n2);
28310
28307
  const _hoisted_1 = {
28311
28308
  class: "bg-white defaultTS funcTC relative",
28312
28309
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -29259,7 +29256,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29259
29256
  }, 8, ["show"])
29260
29257
  ], 64);
29261
29258
  }
29262
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2a69745e"]]);
29259
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4189a9ce"]]);
29263
29260
  const components = [TSider];
29264
29261
  installComponents();
29265
29262
  function installComponents() {