update 消息推送增加 消息类型 消息来源 前端跳转路径等扩展参数

This commit is contained in:
疯狂的狮子Li
2026-03-26 15:34:02 +08:00
parent 05527965e2
commit 42f63fbe24
5 changed files with 123 additions and 29 deletions
+8 -2
View File
@@ -1,10 +1,16 @@
import { defineStore } from 'pinia';
import { reactive } from 'vue';
interface NoticeItem {
export interface NoticeItem {
title?: string;
type?: string;
source?: string;
read: boolean;
message: any;
message: string;
content?: string;
data?: Record<string, any> | null;
path?: string;
query?: Record<string, any> | null;
time: string;
}