From ccee429d379e0108b7445f72ade8d97c110a6fb3 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期二, 09 十一月 2021 18:01:59 +0800 Subject: [PATCH] 问题修复 --- src/components/subComponents/SystemInfo.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/subComponents/SystemInfo.vue b/src/components/subComponents/SystemInfo.vue index e9786ed..813b467 100644 --- a/src/components/subComponents/SystemInfo.vue +++ b/src/components/subComponents/SystemInfo.vue @@ -1,6 +1,6 @@ <template> <div :class="showClass"> - <div class="card-box" :style="`width:${borderWidth}`"> + <div class="card-box" :style="`width:${borderWidth};min-width:456px`" > <ul> <li style="max-width:30px;" v-if="ShowLocalVedio"> <div class="total-box"> @@ -125,8 +125,10 @@ initCpuCharts() { this.$forceUpdate(); } + }, + mounted(){ + console.log('PollData.RealTimeValidCount',this.PollData.RealTimeValidCount) } - } </script> <style lang="scss"> @@ -179,11 +181,12 @@ } } .eCharts-box { - width: 28%; + width: 46%; float: left; box-sizing: border-box; height: 100%; - margin-left: 30px; + padding-left: 10px; + //margin-left: 10px; // @media screen and (min-width: 1280px) and (max-width: 1440px) { // width: 35%; // } -- Gitblit v1.8.0