tx-sider 2.1.6 โ 2.1.8
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
|
@@ -28240,17 +28240,21 @@ const _sfc_main = {
|
|
|
28240
28240
|
await getPermissionModuleListData();
|
|
28241
28241
|
data3.systemVisible = true;
|
|
28242
28242
|
};
|
|
28243
|
-
const onFunOpen = () => {
|
|
28244
|
-
|
|
28245
|
-
|
|
28246
|
-
|
|
28247
|
-
|
|
28248
|
-
|
|
28249
|
-
|
|
28250
|
-
|
|
28251
|
-
|
|
28252
|
-
|
|
28253
|
-
|
|
28243
|
+
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
|
+
});
|
|
28254
28258
|
};
|
|
28255
28259
|
return {
|
|
28256
28260
|
...refData,
|
|
@@ -28302,7 +28306,7 @@ const _sfc_main = {
|
|
|
28302
28306
|
};
|
|
28303
28307
|
}
|
|
28304
28308
|
};
|
|
28305
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28309
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-6f9de699"), n2 = n2(), popScopeId(), n2);
|
|
28306
28310
|
const _hoisted_1 = {
|
|
28307
28311
|
class: "bg-white defaultTS funcTC relative",
|
|
28308
28312
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29255,7 +29259,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29255
29259
|
}, 8, ["show"])
|
|
29256
29260
|
], 64);
|
|
29257
29261
|
}
|
|
29258
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29262
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6f9de699"]]);
|
|
29259
29263
|
const components = [TSider];
|
|
29260
29264
|
installComponents();
|
|
29261
29265
|
function installComponents() {
|