tx-sider 2.1.4 → 2.1.6
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 +5 -4
- package/lib/TXUI.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
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://
|
|
27676
|
+
const iconUrl = process.env.NODE_ENV == "development" ? "https://basis.nacho.cn" : "https://basis.nacho.cn";
|
|
27677
27677
|
const [ccflowData, onClickTodo] = useCcflowCall();
|
|
27678
27678
|
watch(
|
|
27679
27679
|
() => props.isSystems,
|
|
@@ -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) {
|
|
@@ -28240,10 +28241,10 @@ const _sfc_main = {
|
|
|
28240
28241
|
data3.systemVisible = true;
|
|
28241
28242
|
};
|
|
28242
28243
|
const onFunOpen = () => {
|
|
28243
|
-
console.log("~🚀permissionModuleList🚀~", permissionModuleList.value);
|
|
28244
28244
|
getPermissionModuleListData();
|
|
28245
28245
|
console.log("~🚀permissionModuleList🚀~", permissionModuleList.value);
|
|
28246
28246
|
if (permissionModuleList.value.length === 0) {
|
|
28247
|
+
console.log("~🚀456🚀~", permissionModuleList.value);
|
|
28247
28248
|
message.info("你暂无权限,请联系管理员分配");
|
|
28248
28249
|
} else if (permissionModuleList.value.length === 1) {
|
|
28249
28250
|
oneModule(permissionModuleList.value[0].name);
|
|
@@ -28301,7 +28302,7 @@ const _sfc_main = {
|
|
|
28301
28302
|
};
|
|
28302
28303
|
}
|
|
28303
28304
|
};
|
|
28304
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
28305
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-a14938a2"), n2 = n2(), popScopeId(), n2);
|
|
28305
28306
|
const _hoisted_1 = {
|
|
28306
28307
|
class: "bg-white defaultTS funcTC relative",
|
|
28307
28308
|
style: { "padding-bottom": "10px", "margin-bottom": "10px" }
|
|
@@ -29254,7 +29255,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29254
29255
|
}, 8, ["show"])
|
|
29255
29256
|
], 64);
|
|
29256
29257
|
}
|
|
29257
|
-
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
29258
|
+
const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a14938a2"]]);
|
|
29258
29259
|
const components = [TSider];
|
|
29259
29260
|
installComponents();
|
|
29260
29261
|
function installComponents() {
|