新增公告弹窗和无人收件开关
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user