Showing
1 changed file
with
2 additions
and
2 deletions
@@ -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() { |
-
Please register or login to post a comment