fix: 解决首页控制台报错的问题 (#1087)

This commit is contained in:
zhengkunwang223 2023-05-19 17:50:12 +08:00 committed by wanghe-fit2cloud
parent 6b3c06a057
commit 8533a71670

View File

@ -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) { function loadStatus(val: number) {