From cc7f28137c5fbd698b02817259f2af1311bbb1b2 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期五, 07 八月 2020 11:41:38 +0800
Subject: [PATCH] fix: 修复bus

---
 src/components/subComponents/SystemInfo.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/components/subComponents/SystemInfo.vue b/src/components/subComponents/SystemInfo.vue
index 4a67a74..26f5206 100644
--- a/src/components/subComponents/SystemInfo.vue
+++ b/src/components/subComponents/SystemInfo.vue
@@ -75,7 +75,7 @@
         </li> 
       </ul>
     </div>-->
-    <div class="eCharts-box" >
+    <div class="eCharts-box" v-if="PollData.barCharts.length>0">
       <eChartsBar ref="cpuMeneryCharts" :xAxisData="PollData.barCharts"></eChartsBar>
     </div>
   </div>
@@ -114,7 +114,7 @@
     },
     borderWidth: {
       type: String,
-      default: '70%'
+      default: '64%'
     },
     liquidWidth: {
       type: String,
@@ -125,7 +125,8 @@
     initCpuCharts() {
       this.$forceUpdate();
     }
-  },
+  }
+  
 }
 </script>
 <style lang="scss">

--
Gitblit v1.8.0