From 1e09a7a01a6c1888e1a2a832eb007fb8c2b653a0 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 26 一月 2022 11:06:27 +0800
Subject: [PATCH] Merge branch 'bhomebus' of http://192.168.5.5:10010/r/web/vue-smart-ai into bhomebus

---
 src/pages/internetEquipment/components/helemetEchart.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/pages/internetEquipment/components/helemetEchart.vue b/src/pages/internetEquipment/components/helemetEchart.vue
index 4af998f..fab8843 100644
--- a/src/pages/internetEquipment/components/helemetEchart.vue
+++ b/src/pages/internetEquipment/components/helemetEchart.vue
@@ -21,6 +21,9 @@
     });
     let myChart = echarts.init(document.getElementById("echart-cotainer"));
     myChart.setOption(this.option);
+    window.addEventListener("resize", function () {
+      myChart.resize();
+    });
   },
   data() {
     return {

--
Gitblit v1.8.0