Authored by 郭成尧

cpinit

@@ -67,9 +67,9 @@ class RedisLive extends Page { @@ -67,9 +67,9 @@ class RedisLive extends Page {
67 this.cp = echarts.init(this.selector.cp); 67 this.cp = echarts.init(this.selector.cp);
68 68
69 let resData = await this.getCommandProcessed(); 69 let resData = await this.getCommandProcessed();
  70 + let options = cpData(resData);
70 71
71 - // console.log(resData);  
72 - // this.cp.setOption(); 72 + this.cp.setOption(options);
73 } 73 }
74 74
75 tpinit() { 75 tpinit() {