mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 08:12:49 +08:00
fix: 修复修改颜色不会存储本地的问题
This commit is contained in:
parent
a4c14c39b3
commit
58d20b7c8d
@ -50,6 +50,7 @@ export const useDesignStore = defineStore({
|
|||||||
setAppColor(color: AppThemeColorType): void {
|
setAppColor(color: AppThemeColorType): void {
|
||||||
this.appTheme = color.hex
|
this.appTheme = color.hex
|
||||||
this.appThemeDetail = color
|
this.appThemeDetail = color
|
||||||
|
setLocalStorage(GO_DESIGN_STORE, this.$state)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user