From feaf0a9778879ef211c5587a513ba4cbdabb52d0 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期四, 23 六月 2022 17:42:58 +0800 Subject: [PATCH] bug修复 --- 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