Authored by 郭成尧

await

... ... @@ -92,9 +92,9 @@ class RedisLive extends Page {
this.selector.pageSlipt.find('button').on('click', this.rosPageChange.bind(this));
this.init();
setInterval(() => {
this.refreshGraph();
}, 1000 * 20);
// setInterval(() => {
// this.refreshGraph();
// }, 1000 * 20);
}
async init() {
... ... @@ -600,9 +600,9 @@ class RedisLive extends Page {
/**
* 集中刷新数据
*/
refreshGraph() {
this.srvListRender();
this.srvGraphRender();
async refreshGraph() {
await this.srvListRender();
await this.srvGraphRender();
this.cpRender();
this.mcRender();
this.tcRender(true);
... ...