优化
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { Bell } from '@lucide/vue'
|
||||
import type { ClientModuleManifest } from '../types.ts'
|
||||
|
||||
export const notificationsModule = {
|
||||
key: 'notifications',
|
||||
navigationGroup: { title: '消息中心', icon: Bell },
|
||||
routes: [
|
||||
{
|
||||
path: 'notifications',
|
||||
name: 'notifications-list',
|
||||
component: () => import('./views/NotificationsView.vue'),
|
||||
release: 'prototype',
|
||||
meta: { title: '我的消息', description: '查看本企业成员可见的站内消息', permission: 'notifications:view' },
|
||||
navigation: { key: 'notifications-list', title: '我的消息', icon: Bell },
|
||||
},
|
||||
{
|
||||
path: 'notifications/:notificationId',
|
||||
name: 'notification-detail',
|
||||
component: () => import('./views/NotificationDetailView.vue'),
|
||||
release: 'prototype',
|
||||
meta: { title: '消息详情', description: '查看消息正文', permission: 'notifications:view', keepAlive: false },
|
||||
},
|
||||
],
|
||||
} satisfies ClientModuleManifest
|
||||
|
||||
Reference in New Issue
Block a user