4db7cd38062f2736f8ac234ef32a05caff26df33..b9576f3b1e8283f0f07fd4a16b3b85a67596da98
4 天以前 zhengyiming
feat: init
b9576f 对比 | 目录
已修改2个文件
13 ■■■■■ 文件已修改
.env.development 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/System/ModuleManage.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -1,5 +1,5 @@
# 项目本地运行端口号
VITE_PORT = 8188
VITE_PORT = 8711
# 开发环境读取配置文件路径
VITE_PUBLIC_PATH = /
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,
@@ -419,6 +419,9 @@
      isDisabled: !editForm.enabledMark,
      sort: editForm.sortCode,
    };
    if (state.userType === EnumUserType.Enterprise) {
      params.enterpriseType = state.enterpriseType;
    }
    if (editForm.showCacheSelect) {
      params.isCache = editForm.isCache;
    }
@@ -579,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;
@@ -591,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);