mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
Split the router
This commit is contained in:
34
ui/src/router/power.ts
Normal file
34
ui/src/router/power.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
const powerRouter = {
|
||||
path: '/power',
|
||||
name: 'systemManagement',
|
||||
children: [
|
||||
{
|
||||
path: 'role',
|
||||
name: 'roleManagement',
|
||||
component: async () => await import('@/pages/power/RoleManagement.vue'),
|
||||
meta: {
|
||||
title: '角色管理',
|
||||
requiresScrollbar: false,
|
||||
requiresPadding: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'group',
|
||||
name: 'groupManagement',
|
||||
component: async () => await import('@/pages/power/GroupManagement.vue'),
|
||||
meta: {
|
||||
title: '用户组管理',
|
||||
requiresScrollbar: false,
|
||||
requiresPadding: true
|
||||
}
|
||||
}
|
||||
],
|
||||
meta: {
|
||||
title: '权限管理',
|
||||
icon: shallowRef(IconPinnaclePower),
|
||||
requiresScrollbar: false,
|
||||
requiresPadding: true
|
||||
}
|
||||
}
|
||||
|
||||
export default powerRouter
|
||||
Reference in New Issue
Block a user