tx-sider 2.1.5 โ 2.1.7
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 +17 -13
- package/lib/TXUI.umd.js +2 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TXUI.mjs
CHANGED
|
@@ -27716,6 +27716,7 @@ 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);
|
|
27719
27720
|
};
|
|
27720
27721
|
function updateIconModuleList(treeList) {
|
|
27721
27722
|
for (let item of treeList) {
|
|
@@ -28239,17 +28240,20 @@ const _sfc_main = {
|
|
|
28239
28240
|
await getPermissionModuleListData();
|
|
28240
28241
|
data3.systemVisible = true;
|
|
28241
28242
|
};
|
|
28242
|
-
const onFunOpen = () => {
|
|
28243
|
-
|
|
28244
|
-
|
|
28245
|
-
|
|
28246
|
-
|
|
28247
|
-
|
|
28248
|
-
|
|
28249
|
-
|
|
28250
|
-
|
|
28251
|
-
|
|
28252
|
-
|
|
28243
|
+
const onFunOpen = async () => {
|
|
28244
|
+
await getPermissionModuleList().then((res) => {
|
|
28245
|
+
console.log("~๐RES๐~", permissionModuleList.value);
|
|
28246
|
+
permissionModuleList.value = updateIconModuleList(res);
|
|
28247
|
+
console.log("~๐permissionModuleList๐~", permissionModuleList.value);
|
|
28248
|
+
if (permissionModuleList.value.length === 0) {
|
|
28249
|
+
console.log("~๐456๐~", permissionModuleList.value);
|
|
28250
|
+
message.info("ไฝ ๆๆ ๆ้๏ผ่ฏท่็ณป็ฎก็ๅๅ้
");
|
|
28251
|
+
} else if (permissionModuleList.value.length === 1) {
|
|
28252
|
+
oneModule(permissionModuleList.value[0].name);
|
|
28253
|
+
} else {
|
|
28254
|
+
systemVisibleTrue();
|
|
28255
|
+
}
|
|
28256
|
+
});
|
|
28253
28257
|
};
|
|
28254
28258
|
return {
|
|
28255
28259
|
...refData,
|
|
@@ -28301,7 +28305,7 @@ const _sfc_main = {
|
|
|
28301
28305
|
};
|
|
28302
28306
|
}
|
|
28303
28307
|
};
|
|
28304
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28308
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-61e898b5"), n2 = n2(), popScopeId(), n2);
|
|
28305
28309
|
const _hoisted_1 = {
|
|
28306
28310
|
class: "bg-white defaultTS funcTC relative",
|
|
28307
28311
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29254,7 +29258,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29254
29258
|
}, 8, ["show"])
|
|
29255
29259
|
], 64);
|
|
29256
29260
|
}
|
|
29257
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29261
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-61e898b5"]]);
|
|
29258
29262
|
const components = [TSider];
|
|
29259
29263
|
installComponents();
|
|
29260
29264
|
function installComponents() {
|