新增公告弹窗和无人收件开关

This commit is contained in:
eoao
2025-08-03 21:03:54 +08:00
parent 3a40cfc63b
commit 658c1776d5
43 changed files with 857 additions and 474 deletions

View File

@@ -5,7 +5,10 @@ export const useUiStore = defineStore('ui', {
asideShow: window.innerWidth > 1024,
accountShow: false,
backgroundLoading: true,
changeNotice: 0,
writerRef: null,
changePreview: 0,
previewData: {},
key: 0,
asideCount: {
email: 0,
@@ -13,6 +16,15 @@ export const useUiStore = defineStore('ui', {
sysEmail: 0
}
}),
actions: {
showNotice() {
this.changeNotice ++
},
previewNotice(data) {
this.previewData = data
this.changePreview ++
}
},
persist: {
pick: ['accountShow'],
},