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) {