1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

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

This commit is contained in:
zhengkunwang223 2023-05-19 17:50:12 +08:00 committed by GitHub
parent 57aa2aba74
commit c2f5908a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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