fix(hooks): fixed the issue where loading was not properly closed in some cases. (#737)

This commit is contained in:
青菜白玉汤 2025-04-23 21:34:18 +08:00 committed by GitHub
parent 123d2c9074
commit 85e40b1943
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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