update ui

This commit is contained in:
2026-01-23 19:04:24 +07:00
parent 7d3d33ef7e
commit 476c0eb647
14 changed files with 554 additions and 44 deletions

View File

@@ -19,7 +19,7 @@ export const useAuthStore = defineStore('auth', () => {
format: "json",
}).then(r => r.json()).then(r => {
if (r.data) {
user.value = r.data as ModelUser;
user.value = r.data.user as ModelUser;
}
}).catch(() => {}).finally(() => {
initialized.value = true;