From 84f11d4ca59f9580a7e7de5471e3eb86ea14c16b Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期六, 01 八月 2020 18:08:16 +0800 Subject: [PATCH] 屏蔽未开放应用 --- 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