Merge branch 'setttingssync' into shigusegubu-themes3
This commit is contained in:
commit
e804a6aa06
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ export const useLocalConfigStore = defineStore('local_config', {
|
||||||
persist: {
|
persist: {
|
||||||
afterLoad(state) {
|
afterLoad(state) {
|
||||||
return {
|
return {
|
||||||
prefsStorage: state.prefsStorage,
|
prefsStorage: state.prefsStorage ?? { ...configDefaultState },
|
||||||
tempStorage: { ...configDefaultState },
|
tempStorage: { ...configDefaultState },
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue