fix: route logout and login entries to fresh login page
This commit is contained in:
1 parent
ef0cfec6d9
commit
b124d070cb
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -741,8 +741,8 @@
|
||||
<span>来秒AI</span>
|
||||
</a>
|
||||
|
||||
<a class="pill pill--login" href="/login/">登录</a>
|
||||
<a class="pill pill--signup" href="/login/">免费注册</a>
|
||||
<a class="pill pill--login" href="/login/?v=20261107">登录</a>
|
||||
<a class="pill pill--signup" href="/login/?v=20261107">免费注册</a>
|
||||
</header>
|
||||
|
||||
<h1 class="headline">
|
||||
|
||||
@@ -1489,7 +1489,7 @@ html, body { height: 100%; margin: 0; }
|
||||
"trip_team_score",
|
||||
].forEach(function (key) { localStorage.removeItem(key); });
|
||||
showToast("已退出登录");
|
||||
window.setTimeout(function () { window.location.href = "/login/"; }, 300);
|
||||
window.setTimeout(function () { window.location.href = "/login/?v=20261107"; }, 300);
|
||||
}
|
||||
|
||||
function goGenerate() { window.location.href = "/generate"; }
|
||||
|
||||
Reference in new issue
Block a user