Showing
1 changed file
with
6 additions
and
6 deletions
@@ -92,9 +92,9 @@ class RedisLive extends Page { | @@ -92,9 +92,9 @@ class RedisLive extends Page { | ||
92 | this.selector.pageSlipt.find('button').on('click', this.rosPageChange.bind(this)); | 92 | this.selector.pageSlipt.find('button').on('click', this.rosPageChange.bind(this)); |
93 | 93 | ||
94 | this.init(); | 94 | this.init(); |
95 | - setInterval(() => { | ||
96 | - this.refreshGraph(); | ||
97 | - }, 1000 * 20); | 95 | + // setInterval(() => { |
96 | + // this.refreshGraph(); | ||
97 | + // }, 1000 * 20); | ||
98 | } | 98 | } |
99 | 99 | ||
100 | async init() { | 100 | async init() { |
@@ -600,9 +600,9 @@ class RedisLive extends Page { | @@ -600,9 +600,9 @@ class RedisLive extends Page { | ||
600 | /** | 600 | /** |
601 | * 集中刷新数据 | 601 | * 集中刷新数据 |
602 | */ | 602 | */ |
603 | - refreshGraph() { | ||
604 | - this.srvListRender(); | ||
605 | - this.srvGraphRender(); | 603 | + async refreshGraph() { |
604 | + await this.srvListRender(); | ||
605 | + await this.srvGraphRender(); | ||
606 | this.cpRender(); | 606 | this.cpRender(); |
607 | this.mcRender(); | 607 | this.mcRender(); |
608 | this.tcRender(true); | 608 | this.tcRender(true); |
-
Please register or login to post a comment