1
This commit is contained in:
@@ -116,6 +116,52 @@ export const constantRoutes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
path: '/message',
|
||||
component: Layout,
|
||||
redirect: 'noredirect',
|
||||
name: 'Message',
|
||||
meta: { title: '线报消息', icon: 'message' },
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/system/xbmessage/index'),
|
||||
name: 'MessageIndex',
|
||||
meta: { title: '线报消息', icon: 'list' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/xbgroup',
|
||||
component: Layout,
|
||||
redirect: 'noredirect',
|
||||
name: 'Xbgroup',
|
||||
meta: { title: '线报群管理', icon: 'peoples' },
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/system/xbgroup/index'),
|
||||
name: 'XbgroupIndex',
|
||||
meta: { title: '线报群列表', icon: 'list' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/jdorder',
|
||||
component: Layout,
|
||||
redirect: 'noredirect',
|
||||
name: 'Jdorder',
|
||||
meta: { title: '一键转链', icon: 'link' },
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/system/jdorder/index'),
|
||||
name: 'JdorderIndex',
|
||||
meta: { title: '转链工具', icon: 'tool' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/system',
|
||||
component: Layout,
|
||||
@@ -128,15 +174,9 @@ export const constantRoutes = [
|
||||
component: () => import('@/views/system/superadmin/index'),
|
||||
name: 'Superadmin',
|
||||
meta: { title: '超级管理员', icon: 'user' }
|
||||
},
|
||||
{
|
||||
path: 'xbmessage',
|
||||
component: () => import('@/views/system/xbmessage/index'),
|
||||
name: 'Xbmessage',
|
||||
meta: { title: '消息管理', icon: 'message' }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
// 动态路由,基于用户权限动态去加载
|
||||
|
||||
Reference in New Issue
Block a user