style(appStore): code style

This commit is contained in:
kailong321200875 2021-12-11 11:49:39 +08:00
parent 2040500af1
commit 641ed684fe
1 changed files with 16 additions and 16 deletions

View File

@ -99,52 +99,52 @@ export const useAppStore = defineStore({
} }
}, },
actions: { actions: {
setCollapsed(collapsed: boolean): void { setCollapsed(collapsed: boolean) {
this.collapsed = collapsed this.collapsed = collapsed
}, },
setShowLogo(showLogo: boolean): void { setShowLogo(showLogo: boolean) {
this.showLogo = showLogo this.showLogo = showLogo
}, },
setShowTags(showTags: boolean): void { setShowTags(showTags: boolean) {
this.showTags = showTags this.showTags = showTags
}, },
setShowNavbar(showNavbar: boolean): void { setShowNavbar(showNavbar: boolean) {
this.showNavbar = showNavbar this.showNavbar = showNavbar
}, },
setFixedHeader(fixedHeader: boolean): void { setFixedHeader(fixedHeader: boolean) {
this.fixedHeader = fixedHeader this.fixedHeader = fixedHeader
}, },
setLayout(layout: LayoutType): void { setLayout(layout: LayoutType) {
this.layout = layout this.layout = layout
}, },
setBreadcrumb(showBreadcrumb: boolean): void { setBreadcrumb(showBreadcrumb: boolean) {
this.showBreadcrumb = showBreadcrumb this.showBreadcrumb = showBreadcrumb
}, },
setHamburger(showHamburger: boolean): void { setHamburger(showHamburger: boolean) {
this.showHamburger = showHamburger this.showHamburger = showHamburger
}, },
setScreenfull(showScreenfull: boolean): void { setScreenfull(showScreenfull: boolean) {
this.showScreenfull = showScreenfull this.showScreenfull = showScreenfull
}, },
setUserInfo(showUserInfo: boolean): void { setUserInfo(showUserInfo: boolean) {
this.showUserInfo = showUserInfo this.showUserInfo = showUserInfo
}, },
setTitle(title: string): void { setTitle(title: string) {
this.title = title this.title = title
}, },
setLogoTitle(logoTitle: string): void { setLogoTitle(logoTitle: string) {
this.logoTitle = logoTitle this.logoTitle = logoTitle
}, },
setGreyMode(greyMode: boolean): void { setGreyMode(greyMode: boolean) {
this.greyMode = greyMode this.greyMode = greyMode
}, },
setShowBackTop(showBackTop: boolean): void { setShowBackTop(showBackTop: boolean) {
this.showBackTop = showBackTop this.showBackTop = showBackTop
}, },
setShowMenuTab(showMenuTab: boolean): void { setShowMenuTab(showMenuTab: boolean) {
this.showMenuTab = showMenuTab this.showMenuTab = showMenuTab
}, },
setRequestTime(requestTime: boolean): void { setRequestTime(requestTime: boolean) {
this.requestTime = requestTime this.requestTime = requestTime
} }
} }