perf: add uniqueopened setting

This commit is contained in:
陈凯龙
2022-04-14 09:25:10 +08:00
parent 7dc6d8a9d7
commit b0603199a5
7 changed files with 29 additions and 2 deletions

View File

@@ -24,6 +24,9 @@ export const useAppStore = defineStore({
getCollapse(): boolean {
return this.collapse
},
getUniqueOpened(): boolean {
return this.uniqueOpened
},
getHamburger(): boolean {
return this.hamburger
},
@@ -89,6 +92,9 @@ export const useAppStore = defineStore({
setCollapse(collapse: boolean) {
this.collapse = collapse
},
setUniqueOpened(uniqueOpened: boolean) {
this.uniqueOpened = uniqueOpened
},
setHamburger(hamburger: boolean) {
this.hamburger = hamburger
},