fix(hooks): fixed the issue where loading was not properly closed in some cases. (#737)
This commit is contained in:
parent
123d2c9074
commit
85e40b1943
@ -210,6 +210,10 @@ export function useEcharts<T extends ECOption>(optionsFactory: () => T, hooks: C
|
||||
|
||||
// render chart
|
||||
await render();
|
||||
|
||||
if (chart) {
|
||||
await onUpdated?.(chart);
|
||||
}
|
||||
}
|
||||
|
||||
scope.run(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user