fix font settings
This commit is contained in:
parent
63b4586c0f
commit
b2ec9cb890
2 changed files with 4 additions and 10 deletions
|
|
@ -33,9 +33,9 @@ export const useLocalConfigStore = defineStore('local_config', {
|
|||
set(this.prefsStorage, path, undefined)
|
||||
},
|
||||
clearLocalConfig() {
|
||||
const blankState = { ...cloneDeep(defaultState) }
|
||||
Object.keys(this).forEach((k) => {
|
||||
this.prefsStorage[k] = blankState[k]
|
||||
this.prefsStorage[k] = undefined
|
||||
this.tempStorage[k] = undefined
|
||||
})
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue