fix: ui refresh page after login (#230)

This commit is contained in:
sigoden
2023-06-03 10:09:02 +08:00
committed by GitHub
parent 4f3a8d275b
commit 8be545d3da

View File

@@ -445,6 +445,7 @@ function setupAuth() {
$loginBtn.addEventListener("click", async () => { $loginBtn.addEventListener("click", async () => {
try { try {
await checkAuth() await checkAuth()
location.reload();
} catch (err) { } catch (err) {
alert(err.message); alert(err.message);
} }