34 lines
719 B
TypeScript
34 lines
719 B
TypeScript
import type { AppRouteModule } from '/@/router/types'
|
|
import { LAYOUT } from '/@/router/constant'
|
|
const main: AppRouteModule = {
|
|
path: '/system',
|
|
name: 'System',
|
|
component: LAYOUT,
|
|
redirect: '/permission/front/page',
|
|
meta: {
|
|
orderNo: 4,
|
|
icon: 'ion:key-outline',
|
|
title: '系统管理',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'role',
|
|
name: 'SystemRole',
|
|
component: () => import('/@/views/system/role/index.vue'),
|
|
meta: {
|
|
title: '角色管理',
|
|
},
|
|
},
|
|
{
|
|
path: 'account',
|
|
name: 'SystemAccount',
|
|
component: () => import('/@/views/system/account/index.vue'),
|
|
meta: {
|
|
title: '账号管理',
|
|
},
|
|
},
|
|
],
|
|
}
|
|
|
|
export default main
|