Browse Source

修改路径

master
zhaoruhui 12 hours ago
parent
commit
e713c98aba
  1. 4
      hkLogiManagement.html

4
hkLogiManagement.html

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

Loading…
Cancel
Save