From 734f88378528ccfa6683ad1e9cd706a7b293fb3c Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 13 八月 2020 16:15:53 +0800
Subject: [PATCH] fix: rounding the compare sorce to keep only two decimals
---
src/pages/cameraAccess/components/SystemInfo.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/pages/cameraAccess/components/SystemInfo.vue b/src/pages/cameraAccess/components/SystemInfo.vue
index cdd0353..6fdbcfd 100644
--- a/src/pages/cameraAccess/components/SystemInfo.vue
+++ b/src/pages/cameraAccess/components/SystemInfo.vue
@@ -75,7 +75,7 @@
</li>
</ul>
</div>-->
- <div class="eCharts-box" :style="`width:${liquidWidth}`">
+ <div class="eCharts-box" :style="`width:${liquidWidth}`" v-if="PollData.barCharts.length>0">
<eChartsBar ref="cpuMeneryCharts" :xAxisData="PollData.barCharts"></eChartsBar>
</div>
</div>
@@ -129,6 +129,10 @@
this.$forceUpdate();
}
},
+ mounted(){
+ console.log(this.PollData.barCharts)
+ debugger;
+ }
}
</script>
<style lang="scss">
--
Gitblit v1.8.0