From ca9f9c1e70c223deb849f1cbd9d880913410806a Mon Sep 17 00:00:00 2001 From: duan Date: Fri, 2 Sep 2022 13:13:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(src/views/reagent/envrecord):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E7=8E=AF=E5=A2=83=E8=AE=B0=E5=BD=95=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/reagent/envrecord/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/reagent/envrecord/index.vue b/src/views/reagent/envrecord/index.vue index 865b97c..0f68fe9 100644 --- a/src/views/reagent/envrecord/index.vue +++ b/src/views/reagent/envrecord/index.vue @@ -254,7 +254,9 @@ export default { }) }, initCharts() { - this.lineCharts() + this.$nextTick(() => { + this.lineCharts() + }) window.addEventListener('resize', () => { this.myChart2.resize() })