From 8a84c8e9e646f234006c6bbf4607776a4c4ed6b4 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期二, 29 十二月 2020 19:16:05 +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