From 1a94e4c4d56cdb04da7bab981d9389f87daa0683 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期一, 03 八月 2020 18:34:36 +0800 Subject: [PATCH] app:修改images引入方式 --- src/components/subComponents/SystemInfo.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/subComponents/SystemInfo.vue b/src/components/subComponents/SystemInfo.vue index 4a67a74..acb8c26 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> @@ -125,7 +125,8 @@ initCpuCharts() { this.$forceUpdate(); } - }, + } + } </script> <style lang="scss"> -- Gitblit v1.8.0