1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

添加链接失效反馈后端及数据库;登陆改为登录

This commit is contained in:
2022-04-18 18:33:33 +08:00
parent 928bfa40ff
commit 883a245058
20 changed files with 1382 additions and 403 deletions

View File

@@ -52,7 +52,7 @@
window.location.href = "/login";
}
} else {
if(data.errCode == "20004") { // 登过期
if(data.errCode == "20004") { // 登过期
localStorageUtils.userLogout();
window.location.href = "/login";
}

View File

@@ -135,7 +135,7 @@
} else {
alert(`出错啦!${data.errMsg} (错误码: ${data.errCode}) `);
if (data.errCode == "20004") {
// 登过期
// 登过期
localStorageUtils.userLogout();
location.href = "/login";
}