mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
添加链接失效反馈后端及数据库;登陆改为登录
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
window.location.href = "/login";
|
||||
}
|
||||
} else {
|
||||
if(data.errCode == "20004") { // 登陆过期
|
||||
if(data.errCode == "20004") { // 登录过期
|
||||
localStorageUtils.userLogout();
|
||||
window.location.href = "/login";
|
||||
}
|
||||
|
@@ -135,7 +135,7 @@
|
||||
} else {
|
||||
alert(`出错啦!${data.errMsg} (错误码: ${data.errCode}) `);
|
||||
if (data.errCode == "20004") {
|
||||
// 登陆过期
|
||||
// 登录过期
|
||||
localStorageUtils.userLogout();
|
||||
location.href = "/login";
|
||||
}
|
||||
|
Reference in New Issue
Block a user