41 lines
903 B
TypeScript
41 lines
903 B
TypeScript
import type { RouteRecordRaw } from 'vue-router';
|
|
|
|
const routes: RouteRecordRaw[] = [
|
|
{
|
|
path: '/infra/job/job-log',
|
|
component: () => import('#/views/infra/job/logger/index.vue'),
|
|
name: 'InfraJobLog',
|
|
meta: {
|
|
title: '调度日志',
|
|
icon: 'ant-design:history-outlined',
|
|
activePath: '/infra/job',
|
|
keepAlive: false,
|
|
hideInMenu: true,
|
|
},
|
|
},
|
|
{
|
|
path: '/codegen',
|
|
name: 'CodegenEdit',
|
|
meta: {
|
|
icon: 'ic:baseline-view-in-ar',
|
|
keepAlive: true,
|
|
order: 1000,
|
|
title: '代码生成',
|
|
hideInMenu: true,
|
|
},
|
|
children: [
|
|
{
|
|
path: '/codegen/edit',
|
|
name: 'InfraCodegenEdit',
|
|
component: () => import('#/views/infra/codegen/edit.vue'),
|
|
meta: {
|
|
title: '修改生成配置',
|
|
activeMenu: '/infra/codegen',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default routes;
|