From 777c397914941f88f10b5e34826e0f558360cbd2 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期三, 09 九月 2020 09:50:06 +0800 Subject: [PATCH] 实时监控添加显示隐藏区域切换trigger --- src/components/subComponents/SystemInfo.vue | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/subComponents/SystemInfo.vue b/src/components/subComponents/SystemInfo.vue index 26f5206..0c1c821 100644 --- a/src/components/subComponents/SystemInfo.vue +++ b/src/components/subComponents/SystemInfo.vue @@ -125,8 +125,10 @@ initCpuCharts() { this.$forceUpdate(); } + }, + mounted(){ + console.log('PollData.RealTimeValidCount',this.PollData.RealTimeValidCount) } - } </script> <style lang="scss"> @@ -180,16 +182,16 @@ } .eCharts-box { width: 28%; - float: right; + float: left; box-sizing: border-box; height: 100%; - margin-left: 5px; - @media screen and (min-width: 1280px) and (max-width: 1440px) { - width: 35%; - } - @media screen and (max-width: 1279px) { - width: 30%; - } + margin-left: 30px; + // @media screen and (min-width: 1280px) and (max-width: 1440px) { + // width: 35%; + // } + // @media screen and (max-width: 1279px) { + // width: 30%; + // } } .chart-box { float: left; -- Gitblit v1.8.0