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
Plain Diff
Browse Files
Authored by
鲁尚清
3 years ago
Commit
29915d2f3ade00242f2742b2e8daf09c642e2a91
2 parents
f041e39f
bf0fa962
Merge branch 'master' of
http://192.168.1.136:82/monitor_v3/hg-monitor-web
into …
…master-v32-lushangqing
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 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 @
29915d2
...
...
@@ -675,15 +675,23 @@ layui.extend({
// 登录页面,展示大屏不进行token过期验证
if
(
location
.
hash
.
indexOf
(
'#/user/login'
)
==
-
1
&&
location
.
hash
.
indexOf
(
'#/bigscreen/daping'
)
==
-
1
)
{
// 调用测试接口,出现过期则会跳转到登录页面
admin
.
req
({
url
:
domainName
+
"/api-web/common/test"
,
type
:
"get"
,
async
:
false
,
done
:
function
(
data
)
{
tryFunc
();
}
});
try
{
admin
.
req
({
url
:
domainName
+
"/api-web/common/test"
,
type
:
"get"
,
async
:
false
,
done
:
function
(
data
)
{
tryIndex
=
1
;
tryFunc
();
}
});
}
catch
(
e
)
{
// 服务异常:服务重启,网络问题等不可访问等因素
tryIndex
=
1
;
tryFunc
();
}
}
else
{
tryIndex
=
1
;
tryFunc
();
}
})
...
...
Please
register
or
login
to post a comment