Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
wangtao
3 years ago
Commit
07c9af6b4dff66b618b48b58f23e62eedc7501ce
1 parent
8d1596b8
无权限不自动退出
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
hg-monitor-web-base/src/main/resources/static/src/index.js
hg-monitor-web-base/src/main/resources/static/src/index.js
View file @
07c9af6
...
...
@@ -665,10 +665,10 @@ layui.extend({
},
error
:(
error
)
=>
{
console
.
error
(
"检查登录状态:"
,
error
)
// if(error.status === 401){
// window.top.location.reload();
// return;
// }
if
(
error
.
status
===
401
){
window
.
top
.
location
.
reload
();
return
;
}
tryIndex
=
1
;
// 服务异常:服务重启,网络问题等不可访问等因素
tryFunc
();
...
...
Please
register
or
login
to post a comment