21 lines
455 B
TypeScript
21 lines
455 B
TypeScript
![]() |
import { RouteRecordRaw } from 'vue-router'
|
||
|
|
||
|
// @ts-ignore
|
||
|
const router: RouteRecordRaw[] = [
|
||
|
{
|
||
|
path: '/permission',
|
||
|
component: () => import('/admin/layout/index.vue'),
|
||
|
meta: { title: '权限管理', icon: 'user' },
|
||
|
children: [
|
||
|
{
|
||
|
path: 'roles',
|
||
|
name: 'roles',
|
||
|
meta: { title: '角色管理', icon: 'home' },
|
||
|
component: () => import('./roles/index.vue'),
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
]
|
||
|
|
||
|
export default router
|