From 0b6b336181875f53092a0086b9d55b5d264e5c5b Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 22 十二月 2025 10:45:51 +0800
Subject: [PATCH] fix: bug
---
src/views/System/ModuleManage.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/System/ModuleManage.vue b/src/views/System/ModuleManage.vue
index b41e308..126f218 100644
--- a/src/views/System/ModuleManage.vue
+++ b/src/views/System/ModuleManage.vue
@@ -409,7 +409,7 @@
let params: API.SaveMenuCommand = {
userType: state.userType,
clientType: state.clientType,
- enterpriseType: state.enterpriseType,
+ // enterpriseType: state.enterpriseType,
code: editForm.enCode,
name: editForm.name,
type: editForm.isMenu ? EnumMenuType.Menu : EnumMenuType.Page,
@@ -582,8 +582,9 @@
group.fields = columnModuleList.map((c) => ({
code: c.enCode,
name: c.name,
- width: c.width.toString(),
+ width: c.width ? c.width.toString() : '',
sort: c.sortCode,
+ id: c.id,
}));
}
return group;
@@ -594,8 +595,9 @@
fields: columnModuleList.map((c) => ({
code: c.enCode,
name: c.name,
- width: c.width.toString(),
+ width: c.width ? c.width.toString() : '',
sort: c.sortCode,
+ id: c.id,
})),
};
groups.push(group);
--
Gitblit v1.10.0