This commit is contained in:
姚宇浩 2024-11-18 09:36:21 +08:00
parent ec9d8982d6
commit 3526792745
1 changed files with 2 additions and 1 deletions

View File

@ -217,7 +217,8 @@ const login = () => {
} }
} else { } else {
var tokenPd = getCookie("lytoken"); var tokenPd = getCookie("lytoken");
if (!tokenPd) { var tokenLogin=tools.data.get("token");
if (!tokenPd && !tokenLogin) {
window.location.href = window.location.href =
"https://jzzf.longyou.gov.cn:998/api/login?returnURL=" + "https://jzzf.longyou.gov.cn:998/api/login?returnURL=" +
window.location.href; window.location.href;