From 337cef48da80230fcd1a4386d8927fb7e33a223b Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期二, 31 五月 2022 13:38:30 +0800
Subject: [PATCH] 统计查询切换tab

---
 src/pages/cameraAccess/components/SystemInfo.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/pages/cameraAccess/components/SystemInfo.vue b/src/pages/cameraAccess/components/SystemInfo.vue
index cdd0353..1f604d8 100644
--- a/src/pages/cameraAccess/components/SystemInfo.vue
+++ b/src/pages/cameraAccess/components/SystemInfo.vue
@@ -1,6 +1,6 @@
 <template>
   <div :class="showClass">
-    <div class="card-box" :style="`width:${borderWidth}`">
+    <div class="card-box">
       <ul>
         <li style="max-width:30px;" v-if="ShowLocalVedio">
           <div class="total-box">
@@ -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,9 @@
       this.$forceUpdate();
     }
   },
+  mounted() {
+    console.log('PollData.RealTimeValidCount', this.PollData.RealTimeValidCount)
+  }
 }
 </script>
 <style lang="scss">

--
Gitblit v1.8.0