This commit is contained in:
雷欧(林平凡)
2025-08-15 18:01:05 +08:00
parent 5f2fbe3412
commit 5508c72442
11 changed files with 916 additions and 174 deletions

View File

@@ -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' }
}
]
}
},
]
// 动态路由,基于用户权限动态去加载