init
This commit is contained in:
+21
-29
@@ -21,13 +21,27 @@ export const staticMenuRoutes: RouteVO[] = [
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/system',
|
||||
path: '/miniapp',
|
||||
component: 'Layout',
|
||||
redirect: '/system/user',
|
||||
meta: { title: '系统管理', icon: 'Setting', hidden: false },
|
||||
redirect: '/miniapp/list',
|
||||
meta: { title: '小程序管理', icon: 'Menu', hidden: false },
|
||||
children: [
|
||||
{
|
||||
path: 'user',
|
||||
path: 'list',
|
||||
component: 'miniapp/index',
|
||||
name: 'Miniapp',
|
||||
meta: { title: '小程序管理', icon: 'Menu', hidden: false },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/user',
|
||||
component: 'Layout',
|
||||
redirect: '/user/index',
|
||||
meta: { title: '用户管理', icon: 'User', hidden: false },
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: 'system/user/index',
|
||||
name: 'User',
|
||||
meta: { title: '用户管理', icon: 'User', hidden: false },
|
||||
@@ -35,10 +49,10 @@ export const staticMenuRoutes: RouteVO[] = [
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/personnel',
|
||||
path: '/system',
|
||||
component: 'Layout',
|
||||
redirect: '/personnel/admin',
|
||||
meta: { title: '人员管理', icon: 'UserFilled', hidden: false },
|
||||
redirect: '/system/admin',
|
||||
meta: { title: '系统管理', icon: 'Setting', hidden: false },
|
||||
children: [
|
||||
{
|
||||
path: 'admin',
|
||||
@@ -46,14 +60,6 @@ export const staticMenuRoutes: RouteVO[] = [
|
||||
name: 'AdminList',
|
||||
meta: { title: '管理员管理', icon: 'User', hidden: false },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/rbac',
|
||||
component: 'Layout',
|
||||
redirect: '/rbac/role',
|
||||
meta: { title: '权限管理', icon: 'Lock', hidden: false },
|
||||
children: [
|
||||
{
|
||||
path: 'role',
|
||||
component: 'system/role/index',
|
||||
@@ -68,18 +74,4 @@ export const staticMenuRoutes: RouteVO[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/miniapp',
|
||||
component: 'Layout',
|
||||
redirect: '/miniapp/list',
|
||||
meta: { title: '小程序管理', icon: 'Menu', hidden: false },
|
||||
children: [
|
||||
{
|
||||
path: 'list',
|
||||
component: 'miniapp/index',
|
||||
name: 'Miniapp',
|
||||
meta: { title: '小程序管理', icon: 'Menu', hidden: false },
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user