We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c37a7e commit 14f6853Copy full SHA for 14f6853
assets/bootstrap/js/httpclient/httpclient.js
@@ -44,10 +44,9 @@ function AjaxError(response) {
44
let errCode = response.status;
45
let errMsg = response.responseText;
46
47
- if (errCode === 401) { // 跳转到登录页
48
- // 关闭当前界面
49
- parent.window.close();
50
- window.open("/login");
+ if (errCode === 401) {
+ // 跳转到登录页
+ window.open("/login",'_self');
51
return;
52
}
53
0 commit comments