chore: update margins in login and reg pages

This commit is contained in:
Tristan Yang
2023-06-16 17:09:15 +08:00
parent f2a0812d05
commit caddb0719e
5 changed files with 5 additions and 10 deletions
+2
View File
@@ -182,6 +182,8 @@ export const authApi = createApi({
try {
await queryFulfilled;
dispatch(resetAuthData());
// 重定向到登录
location.href = "/#/login";
} catch {
console.log("logout error");
}