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
33cf96759d4f9f5d8f4b3ff4be1d20cebc23fbdb
1 parent
bc89d3f9
master
...
dev_deploy_image_ui
feature/add-footer-div-20220127
延长探测时间
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 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 @
33cf967
...
...
@@ -254,7 +254,7 @@
</div>
<script
src=
"<%=basePath %>script/common/genarate_left_panel.js?v=<%=ProjectConstant.MENU_VERSION %>"
></script>
<script
src=
"<%=basePath %>script/switch.js?v=201806
0
4-001"
></script>
<script
src=
"<%=basePath %>script/switch.js?v=201806
1
4-001"
></script>
<script
type=
"text/javascript"
>
$
(
"#li_switch"
).
addClass
(
"active open"
);
...
...
monitor-ui-web/src/main/webapp/script/switch.js
View file @
33cf967
...
...
@@ -310,6 +310,7 @@ function nginxInitSwitch(cloudName) {
},
success
:
function
(
checkResponse
)
{
count
++
;
console
.
log
(
"getLbSwitchResult times is "
+
count
);
if
(
count
>
30
){
clearInterval
(
intervalIndex
);
window
.
location
.
href
=
contextPath
+
"topoSwitch/toTopoSwitch"
;
...
...
@@ -322,7 +323,7 @@ function nginxInitSwitch(cloudName) {
console
.
log
(
"getLbSwitchResult"
+
e
);
}
});
},
1
0000
);
},
1
5000
);
//15s
//window.location.href = contextPath + "topoSwitch/toTopoSwitch";
}
},
...
...
Please
register
or
login
to post a comment