diff --git a/src/stores/auth/auth-context.tsx b/src/stores/auth/auth-context.tsx index a255ea67..abf038ce 100644 --- a/src/stores/auth/auth-context.tsx +++ b/src/stores/auth/auth-context.tsx @@ -61,11 +61,14 @@ export function AuthProvider({ children }: AuthProviderProps) { password: state.context.password, username: state.context.username, confirmPassword: state.context.confirmPassword, - // isLoading 覆盖邮箱登录 / 邮箱注册 / OAuth 跳转(NextAuth 重定向期间)/ 显式游客登录 + // isLoading 覆盖邮箱登录 / 邮箱注册 / OAuth 跳转(NextAuth 重定向期间)/ + // OAuth 回调后端 sync / 显式游客登录 isLoading: state.matches("loadingEmailLogin") || state.matches("loadingEmailRegister") || state.matches("loadingOAuth") || + state.matches("syncingGoogleBackend") || + state.matches("syncingFacebookBackend") || state.matches("loadingGuestLogin"), errorMessage: state.context.errorMessage, loginStatus: state.context.loginStatus,