mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-27 13:46:41 +08:00
fix(hooks): fixed the issue where loading was not properly closed in some cases.
This commit is contained in:
parent
05dc11e258
commit
b1796482ac
@ -210,6 +210,10 @@ export function useEcharts<T extends ECOption>(optionsFactory: () => T, hooks: C
|
|||||||
|
|
||||||
// render chart
|
// render chart
|
||||||
await render();
|
await render();
|
||||||
|
|
||||||
|
if (chart) {
|
||||||
|
await onUpdated?.(chart);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
scope.run(() => {
|
scope.run(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user