Commit 9888efd0 by ZhengJie

[代码优化](v2.6):服务监控Cpu使用率Bug修复

parent e2bc51c7
...@@ -242,7 +242,7 @@ export default { ...@@ -242,7 +242,7 @@ export default {
} }
this.cpuInfo.xAxis.data.push(data.time) this.cpuInfo.xAxis.data.push(data.time)
this.memoryInfo.xAxis.data.push(data.time) this.memoryInfo.xAxis.data.push(data.time)
this.cpuInfo.series[0].data.push(parseFloat(data.memory.used)) this.cpuInfo.series[0].data.push(parseFloat(data.cpu.used))
this.memoryInfo.series[0].data.push(parseFloat(data.memory.usageRate)) this.memoryInfo.series[0].data.push(parseFloat(data.memory.usageRate))
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment