mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-10-09 01:05:14 +08:00
登陆过期重新登录跳回原来页面;管理员后台文件详情页面文件详情和关联文件对象
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
if (data.errCode == "20004") {
|
||||
// 登录过期
|
||||
localStorageUtils.userLogout();
|
||||
location.href = "/login";
|
||||
location.href = "/login?redirect=" + encodeURIComponent(location.pathname + location.search);
|
||||
}
|
||||
}
|
||||
}).catch(function (error) {
|
||||
|
Reference in New Issue
Block a user