feat(Layout): Add cutMenu layout

This commit is contained in:
陈凯龙
2022-01-21 16:17:40 +08:00
parent 1522e925ba
commit ff4dd3afbf
23 changed files with 711 additions and 171 deletions

View File

@@ -42,6 +42,9 @@ export const useAppStore = defineStore({
getFixedHeader(): boolean {
return this.fixedHeader
},
getFixedMenu(): boolean {
return this.fixedMenu
},
getGreyMode(): boolean {
return this.greyMode
},
@@ -52,9 +55,6 @@ export const useAppStore = defineStore({
getTitle(): string {
return this.title
},
getLogoTitle(): string {
return this.logoTitle
},
getUserInfo(): string {
return this.userInfo
},
@@ -105,6 +105,9 @@ export const useAppStore = defineStore({
setFixedHeader(fixedHeader: boolean) {
this.fixedHeader = fixedHeader
},
setFixedMenu(fixedMenu: boolean) {
this.fixedMenu = fixedMenu
},
setGreyMode(greyMode: boolean) {
this.greyMode = greyMode
},
@@ -120,9 +123,6 @@ export const useAppStore = defineStore({
setTitle(title: string) {
this.title = title
},
setLogoTitle(logoTitle: string) {
this.logoTitle = logoTitle
},
setIsDark(isDark: boolean) {
this.isDark = isDark
if (this.isDark) {