From 8533a716704452ac7d86c030400e84ec830030d7 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 19 May 2023 17:50:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#1087)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/status/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/home/status/index.vue b/frontend/src/views/home/status/index.vue index 1dadccc25727..ab9c88a9ca5b 100644 --- a/frontend/src/views/home/status/index.vue +++ b/frontend/src/views/home/status/index.vue @@ -290,7 +290,9 @@ const freshChart = (chartName: string, Title: string, Data: number) => { }, ], }; - myChart.setOption(option, true); + nextTick(function () { + myChart.setOption(option, true); + }); }; function loadStatus(val: number) {