From daa35d5df169f8c9addd2e0a6fff32b81c475c25 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 29 Jun 2023 10:01:07 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2945=20fix=EF=BC=9A=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E5=91=8A=E8=AD=A6=E8=AF=A6=E6=83=85=E6=97=B6=E5=BC=80=E5=90=AF?= =?UTF-8?q?=E5=90=8C=E6=AF=94=E5=90=8E=E4=B8=8B=E6=96=B9=E9=80=89=E9=A1=B9?= =?UTF-8?q?=E8=A2=AB=E9=81=AE=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/chart/chartMixin.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nezha-fronted/src/components/chart/chartMixin.js b/nezha-fronted/src/components/chart/chartMixin.js index 4dba5a829..23d9faa84 100644 --- a/nezha-fronted/src/components/chart/chartMixin.js +++ b/nezha-fronted/src/components/chart/chartMixin.js @@ -448,6 +448,11 @@ export default { } if (!this.isInit) { this.initChart(this.chartOption) + if (this.resize) { + setTimeout(() => { + this.resize() + }, 200) + } } } }