fix: 修复首页柱状图加载问题
This commit is contained in:
parent
f0341d6078
commit
44b22ea875
@ -55,7 +55,7 @@ const { domRef, updateOptions } = useEcharts(() => ({
|
|||||||
|
|
||||||
const getData = async () => {
|
const getData = async () => {
|
||||||
await new Promise(resolve => {
|
await new Promise(resolve => {
|
||||||
setTimeout(resolve, 1);
|
setTimeout(resolve, 100);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!props.modelValue) {
|
if (!props.modelValue) {
|
||||||
|
Loading…
Reference in New Issue
Block a user