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 () => {
try {
await checkAuth()
location.reload();
} catch (err) {
alert(err.message);
}