feat(utils): Add color utils

This commit is contained in:
陈凯龙
2022-01-12 16:44:57 +08:00
parent b218ccc9cc
commit 71dfba21c5
21 changed files with 1268 additions and 635 deletions

View File

@@ -10,8 +10,8 @@ export const useAppStore = defineStore({
id: 'app',
state: (): AppState => appModules,
getters: {
getCollapsed(): boolean {
return this.collapsed
getCollapse(): boolean {
return this.collapse
},
getShowLogo(): boolean {
return this.showLogo
@@ -69,8 +69,8 @@ export const useAppStore = defineStore({
}
},
actions: {
setCollapsed(collapsed: boolean) {
this.collapsed = collapsed
setCollapse(collapse: boolean) {
this.collapse = collapse
},
setShowLogo(showLogo: boolean) {
this.showLogo = showLogo