fix(auth): redirect to splash after logout

This commit is contained in:
2026-06-17 15:07:16 +08:00
parent 0d2a515e51
commit bda1605ce7
7 changed files with 48 additions and 5 deletions
+1
View File
@@ -13,6 +13,7 @@ export type AuthEvent =
| { type: "AuthModeChanged"; mode: AuthMode }
| { type: "AuthFormCleared" }
| { type: "AuthReset" }
| { type: "AuthLogoutSubmitted" }
/** App 启动时一次性派发 —— 读 storage 把 loginStatus 同步到状态机 */
| { type: "AuthInit" }
/** 显式游客登录 —— splash 上点"游客模式"按钮触发(不自动) */