This commit is contained in:
2026-08-12 18:24:03 +08:00
parent 3366c58a5e
commit 13a856cef9
11 changed files with 228 additions and 1 deletions
+25
View File
@@ -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