Skip to content

Commit

Permalink
fix: 解决首页控制台报错的问题 (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 authored and wanghe-fit2cloud committed May 21, 2023
1 parent 6b3c06a commit 8533a71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/views/home/status/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8533a71

Please sign in to comment.