-
- {{ $t('ui.widgets.clearNotifications') }}
-
+
{{ $t('ui.widgets.viewAll') }}
diff --git a/packages/effects/layouts/src/widgets/notification/types.ts b/packages/effects/layouts/src/widgets/notification/types.ts
index 4b684f280..d868a8d77 100644
--- a/packages/effects/layouts/src/widgets/notification/types.ts
+++ b/packages/effects/layouts/src/widgets/notification/types.ts
@@ -1,6 +1,18 @@
interface NotificationItem {
id: number | string;
- avatar: string;
+ avatar?: string;
+ /**
+ * 通知类型(notice 公告 / message 个人消息), 用于切换图标
+ */
+ type?: string;
+ /**
+ * 未读数, 用于铃铛图标角标显示
+ */
+ count?: number;
+ /**
+ * 重要程度(important 重要), 用于标题红色标注
+ */
+ severity?: string;
date: string;
isRead?: boolean;
message: string;