1
0
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:
2023-05-16 21:07:34 +08:00
parent d7a3c0265d
commit 126202b8f7
6 changed files with 232 additions and 221 deletions

34
ui/src/router/power.ts Normal file
View 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