fix: 修复修改颜色不会存储本地的问题

This commit is contained in:
MTrun 2022-03-12 18:51:38 +08:00
parent a4c14c39b3
commit 58d20b7c8d

View File

@ -50,6 +50,7 @@ export const useDesignStore = defineStore({
setAppColor(color: AppThemeColorType): void {
this.appTheme = color.hex
this.appThemeDetail = color
setLocalStorage(GO_DESIGN_STORE, this.$state)
}
}
})