1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

notice route modify

This commit is contained in:
cccccyb
2023-05-11 16:10:52 +08:00
parent 6a86847b87
commit 1c67eb9f43

View File

@@ -150,36 +150,12 @@ const router = createRouter({
},
{
path: '/notice',
component: async () => await import('@/pages/notice/NoticeHome.vue'),
name: 'noticeHome',
meta: {
title: '公告管理',
icon: shallowRef(IconPinnacleNotice),
requiresScrollbar: false,
requiresPadding: true
}
},
{
path: '/system',
name: 'systemManagement',
children: [
{
path: 'role',
name: 'systemRole',
component: async () =>
await import('@/pages/system/RoleManagement.vue'),
meta: {
title: '角色管理',
requiresScrollbar: false,
requiresPadding: true
}
}
],
meta: {
title: '系统管理',
icon: shallowRef(IconPinnacleSetting),
requiresScrollbar: false,
requiresPadding: true
},
children: [
{
@@ -204,6 +180,29 @@ const router = createRouter({
}
]
}
// {
// path: '/system',
// name: 'systemManagement',
// children: [
// {
// path: 'role',
// name: 'systemRole',
// component: async () =>
// await import('@/pages/system/RoleManagement.vue'),
// meta: {
// title: '角色管理',
// requiresScrollbar: false,
// requiresPadding: true
// }
// }
// ],
// meta: {
// title: '系统管理',
// icon: shallowRef(IconPinnacleSetting),
// requiresScrollbar: false,
// requiresPadding: true
// }
// }
]
},
{