tx-sider 2.1.33 → 2.1.35
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 +12 -8
- package/lib/TXUI.umd.js +2 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -27675,7 +27675,6 @@ const _sfc_main = {
|
|
|
27675
27675
|
var _a, _b;
|
|
27676
27676
|
console.log(props);
|
|
27677
27677
|
selectedSystems.value = isSystems.value;
|
|
27678
|
-
await getPermissionModuleListData();
|
|
27679
27678
|
getModeuleInfoDataHandle = await getModeuleInfoData();
|
|
27680
27679
|
isShowAllProductionBases.value = (_a = getModeuleInfoDataHandle(
|
|
27681
27680
|
window.location.hostname.split(".")[0]
|
|
@@ -27697,7 +27696,10 @@ const _sfc_main = {
|
|
|
27697
27696
|
data3.dgVisible = true;
|
|
27698
27697
|
}
|
|
27699
27698
|
}
|
|
27699
|
+
console.log("first", isSystems.value);
|
|
27700
27700
|
if (isSystems.value) {
|
|
27701
|
+
console.log("登录页面", isSystems.value);
|
|
27702
|
+
await getPermissionModuleListData();
|
|
27701
27703
|
moduleTestS.value = ((_b = permissionModuleList.value.find(
|
|
27702
27704
|
(_x) => _x.permissionModuleName === selectedSystems.value
|
|
27703
27705
|
)) == null ? void 0 : _b.childGroups) ?? [];
|
|
@@ -27884,8 +27886,6 @@ const _sfc_main = {
|
|
|
27884
27886
|
};
|
|
27885
27887
|
const oneModule = async (systemed) => {
|
|
27886
27888
|
var _a;
|
|
27887
|
-
console.log("selectedSystems.value", selectedSystems.value);
|
|
27888
|
-
console.log("systemed", systemed);
|
|
27889
27889
|
await getPermissionModuleListData();
|
|
27890
27890
|
moduleTestS.value = ((_a = permissionModuleList.value.find(
|
|
27891
27891
|
(_x) => _x.permissionModuleName === selectedSystems.value ? selectedSystems.value : systemed
|
|
@@ -28221,11 +28221,15 @@ const _sfc_main = {
|
|
|
28221
28221
|
data3.systemVisible = true;
|
|
28222
28222
|
};
|
|
28223
28223
|
const onFunOpen = async () => {
|
|
28224
|
-
await getPermissionModuleListData();
|
|
28225
28224
|
console.log("🚀🚀🚀🚀", permissionModuleList.value);
|
|
28226
28225
|
if (permissionModuleList.value.length === 0) {
|
|
28227
|
-
|
|
28228
|
-
|
|
28226
|
+
const res = await getPermissionModuleList();
|
|
28227
|
+
console.log("🚀🚀res🚀🚀", permissionModuleList.value);
|
|
28228
|
+
permissionModuleList.value = updateIconModuleList(res);
|
|
28229
|
+
console.log("🚀🚀🚀🚀", permissionModuleList.value);
|
|
28230
|
+
if (permissionModuleList.value.length === 0) {
|
|
28231
|
+
message.info("你暂无权限,请联系管理员分配");
|
|
28232
|
+
}
|
|
28229
28233
|
} else if (permissionModuleList.value.length === 1) {
|
|
28230
28234
|
oneModule(permissionModuleList.value[0].permissionModuleName);
|
|
28231
28235
|
} else {
|
|
@@ -28288,7 +28292,7 @@ const _sfc_main = {
|
|
|
28288
28292
|
};
|
|
28289
28293
|
}
|
|
28290
28294
|
};
|
|
28291
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28295
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-ac6a97e4"), n2 = n2(), popScopeId(), n2);
|
|
28292
28296
|
const _hoisted_1 = {
|
|
28293
28297
|
class: "bg-white defaultTS funcTC relative",
|
|
28294
28298
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29241,7 +29245,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29241
29245
|
}, 8, ["show"])
|
|
29242
29246
|
], 64);
|
|
29243
29247
|
}
|
|
29244
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29248
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ac6a97e4"]]);
|
|
29245
29249
|
const components = [TSider];
|
|
29246
29250
|
installComponents();
|
|
29247
29251
|
function installComponents() {
|