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

登陆过期重新登录跳回原来页面;管理员后台文件详情页面文件详情和关联文件对象

This commit is contained in:
2022-04-20 21:27:12 +08:00
parent fba89551a0
commit 8710ca5d65
14 changed files with 225 additions and 24 deletions

View File

@@ -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) {