|
|
|
@ -237,7 +237,7 @@ |
|
|
|
|
|
|
|
// 延迟跳转,让用户看到成功消息 |
|
|
|
setTimeout(function () { |
|
|
|
window.location.href = 'hkhcdbqbManagement.html'; |
|
|
|
window.location.href = './hkhcdbqbManagement.html'; |
|
|
|
}, 1000); |
|
|
|
} else { |
|
|
|
// 登录失败,明确提示是账号还是密码错误 |
|
|
|
@ -337,7 +337,7 @@ |
|
|
|
const hoursDiff = (currentTime - loginTime) / (1000 * 60 * 60); |
|
|
|
|
|
|
|
if (hoursDiff < 24) { |
|
|
|
window.location.href = 'hcdbqb-management.html'; |
|
|
|
window.location.href = 'hkLogiManagement.html'; |
|
|
|
} else { |
|
|
|
// 超过24小时,清除登录状态 |
|
|
|
localStorage.removeItem('isLoggedIn'); |
|
|
|
|