feat: code generator

This commit is contained in:
dap
2024-09-23 22:11:31 +08:00
parent 07e9483c91
commit 054fbf72cd
9 changed files with 478 additions and 33 deletions

View File

@@ -57,6 +57,30 @@ const profileRoute: RouteRecordStringComponent[] = [
},
],
},
{
component: 'BasicLayout',
meta: {
hideChildrenInMenu: true,
hideInMenu: true,
title: '修改生成配置',
},
name: 'GenConfig',
path: '/',
redirect: '/code-gen/edit',
children: [
{
component: '/tool/gen/edit-gen',
meta: {
activePath: '/tool/gen',
icon: 'mingcute:profile-line',
keepAlive: true,
title: '生成配置',
},
name: 'GenConfigIndex',
path: '/code-gen/edit/:tableId',
},
],
},
];
/**