Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
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
qinchao
7 years ago
Commit
da13f229618a206cf98dc8d3805fcbd00f7b8492
1 parent
6047c6d0
切换增加提示
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
monitor-ui-web/src/main/webapp/jsp/switch/switch_topology.jsp
monitor-ui-web/src/main/webapp/script/switch.js
monitor-ui-web/src/main/webapp/jsp/switch/switch_topology.jsp
View file @
da13f22
...
...
@@ -255,7 +255,7 @@
</div>
<script
src=
"<%=basePath %>script/common/genarate_left_panel.js?v=<%=ProjectConstant.MENU_VERSION %>"
></script>
<script
src=
"<%=basePath %>script/switch.js?v=2018061
4
-001"
></script>
<script
src=
"<%=basePath %>script/switch.js?v=2018061
5
-001"
></script>
<script
type=
"text/javascript"
>
$
(
"#li_switch"
).
addClass
(
"active open"
);
...
...
monitor-ui-web/src/main/webapp/script/switch.js
View file @
da13f22
...
...
@@ -324,11 +324,11 @@ function nginxInitSwitch(cloudName) {
},
success
:
function
(
checkResponse
)
{
count
++
;
/*if(count > 30){
console
.
log
(
"time is "
+
count
);
if
(
count
>
50
){
clearInterval
(
intervalIndex
);
window
.
location
.
href
=
contextPath
+
"topoSwitch/toTopoSwitch"
;
}else*/
console
.
log
(
"time is "
+
count
);
}
if
(
checkResponse
==
null
){
$
(
"#infoDive"
).
append
(
"time is "
+
count
);
$
(
"#infoDive"
).
append
(
"response is null"
);
...
...
Please
register
or
login
to post a comment