Authored by jack

增加定时1分钟刷新

@@ -119,6 +119,10 @@ @@ -119,6 +119,10 @@
119 119
120 <script type="text/javascript"> 120 <script type="text/javascript">
121 $(function () { 121 $(function () {
  122 + refreshTable();
  123 + });
  124 +
  125 + function refreshTable() {
122 $("#tRedisTable").table({ 126 $("#tRedisTable").table({
123 url: contextPath + "redisMonitor/allTwemproxy", 127 url: contextPath + "redisMonitor/allTwemproxy",
124 striped: true, 128 striped: true,
@@ -229,9 +233,8 @@ @@ -229,9 +233,8 @@
229 }], 233 }],
230 /* data: data*/ 234 /* data: data*/
231 }); 235 });
232 -  
233 - });  
234 - 236 + setTimeout('refreshTable()',60000);
  237 + }
235 238
236 function showRedisInfo(rowData) { 239 function showRedisInfo(rowData) {
237 var vId = rowData.volumeId; 240 var vId = rowData.volumeId;