fix: token not stored after login

This commit is contained in:
CrescentLeaf
2025-09-08 21:22:22 +08:00
parent 4a942f1e77
commit e2c385b559
2 changed files with 2 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ export default function LoginDialog({
if (checkApiSuccessOrSncakbar(re, "登錄失敗")) return
data.access_token = re.data!.access_token as string
data.apply()
location.reload()
})
return (