mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2026-01-02 18:57:17 +08:00
feat: 重构个人消息中心,支持展示个人公告,并优化相关地址
This commit is contained in:
@@ -43,23 +43,29 @@ export const systemRoutes: RouteRecordRaw[] = [
|
||||
meta: { hidden: true },
|
||||
},
|
||||
{
|
||||
path: '/setting',
|
||||
name: 'Setting',
|
||||
path: '/user',
|
||||
name: 'User',
|
||||
component: Layout,
|
||||
meta: { hidden: true },
|
||||
children: [
|
||||
{
|
||||
path: '/setting/profile',
|
||||
name: 'SettingProfile',
|
||||
component: () => import('@/views/setting/profile/index.vue'),
|
||||
path: '/user/profile',
|
||||
name: 'UserProfile',
|
||||
component: () => import('@/views/user/profile/index.vue'),
|
||||
meta: { title: '个人中心', showInTabs: false },
|
||||
},
|
||||
{
|
||||
path: '/setting/message',
|
||||
name: 'SettingMessage',
|
||||
component: () => import('@/views/setting/message/index.vue'),
|
||||
path: '/user/message',
|
||||
name: 'UserMessage',
|
||||
component: () => import('@/views/user/message/index.vue'),
|
||||
meta: { title: '消息中心', showInTabs: false },
|
||||
},
|
||||
{
|
||||
path: '/user/notice',
|
||||
name: 'UserNotice',
|
||||
component: () => import('@/views/user/message/components/detail/index.vue'),
|
||||
meta: { title: '公告详情' },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user