mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
sync application settings
This commit is contained in:
@@ -103,6 +103,8 @@ export const useRootStore = defineStore('root', () => {
|
||||
}
|
||||
}
|
||||
|
||||
settingsStore.setApplicationSettingsFromCloudSettings(data.result.applicationCloudSettings);
|
||||
|
||||
updateCurrentToken(data.result.token);
|
||||
|
||||
if (data.result.user && isObject(data.result.user)) {
|
||||
@@ -162,6 +164,8 @@ export const useRootStore = defineStore('root', () => {
|
||||
}
|
||||
}
|
||||
|
||||
settingsStore.setApplicationSettingsFromCloudSettings(data.result.applicationCloudSettings);
|
||||
|
||||
updateCurrentToken(data.result.token);
|
||||
|
||||
if (data.result.user && isObject(data.result.user)) {
|
||||
|
||||
Reference in New Issue
Block a user