From 12b09cfa5f4cf8ea8d55c9c1cddb1cbe8914b884 Mon Sep 17 00:00:00 2001 From: hyx Date: Mon, 18 May 2020 17:28:51 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E9=97=AE?= =?UTF-8?q?=E9=A2=98=201=20=E8=B0=83=E6=95=B4=E7=AA=97=E5=8F=A3=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E5=90=8E=EF=BC=8Cecharts=E5=9B=BE=E8=A1=A8=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E6=AD=A3=E5=B8=B8=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/line-chart-block.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/charts/line-chart-block.vue b/nezha-fronted/src/components/charts/line-chart-block.vue index cc9486eb7..5fe095864 100644 --- a/nezha-fronted/src/components/charts/line-chart-block.vue +++ b/nezha-fronted/src/components/charts/line-chart-block.vue @@ -78,7 +78,7 @@ --> -
+
@@ -934,6 +934,10 @@ self.firstShow = true; // 展示操作按键 }, 100) + window.addEventListener('resize', function () { + self.echartStore.resize(); + }); + this.echartStore.on('magictypechanged', function (params) { self.isStackArea = !self.isStackArea; if(self.isStackArea){