setOption pass 1
This commit is contained in:
parent
f62e0c5718
commit
6124d9c04c
12 changed files with 39 additions and 40 deletions
|
|
@ -512,8 +512,8 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
)
|
||||
|
||||
if (this.useStylePalette) {
|
||||
window.vuex.commit('setOption', {
|
||||
name: 'palette',
|
||||
useSyncConfigStore().setPreference({
|
||||
path: 'simple.palette',
|
||||
value: firstStylePaletteName,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue