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

pull/1089/head
zhengkunwang223 2 years ago committed by GitHub
parent 57aa2aba74
commit c2f5908a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save