消息设置

This commit is contained in:
Teo
2025-08-15 01:38:36 +08:00
parent 5e8fc48bc7
commit 70d829af6c
9 changed files with 985 additions and 13 deletions

View File

@ -5,22 +5,13 @@ interface NoticeItem {
read: boolean;
message: any;
time: string;
formPath?: string;
businessId?: string;
route?: string;
detailId?: string;
}
export const useNoticeStore = defineStore('notice', () => {
const state = reactive({
notices: [
{
title: '通知公告',
read: false,
message: '这是一条通知公告',
time: '2023-01-01',
formPath: 'design-management/scheme/indexEdit',
businessId: '1955636050617094146'
}
] as NoticeItem[]
notices: [] as NoticeItem[]
});
const addNotice = (notice: NoticeItem) => {