From e32af94f41a414960454d3bf39c1e27674fbede5 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期四, 21 一月 2021 19:55:36 +0800
Subject: [PATCH] shuohuang首页tab2静态页完善,页面优化

---
 src/pages/shuohuangMonitorAnalyze/components/charts/line.vue |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/components/charts/line.vue b/src/pages/shuohuangMonitorAnalyze/components/charts/line.vue
index 04dbb1b..ba22ac6 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/charts/line.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/charts/line.vue
@@ -1,5 +1,5 @@
 <template>
-  <div ref="lineChart" :style="{width:defineW+'px',height:defineH+'px'}"></div>
+  <div ref="lineChart" style="width:100%;height:100%"></div>
 </template>
 
 <script>
@@ -7,14 +7,6 @@
   props: {
     options: {
       type: Object
-    },
-    defineW: {
-      type: Number,
-      default: 600,
-    },
-    defineH: {
-      type: Number,
-      default: 300,
     }
   },
   mounted () {

--
Gitblit v1.8.0