diff --git a/src/hooks/common/echarts.ts b/src/hooks/common/echarts.ts index 45c33e12..73306834 100644 --- a/src/hooks/common/echarts.ts +++ b/src/hooks/common/echarts.ts @@ -210,6 +210,10 @@ export function useEcharts(optionsFactory: () => T, hooks: C // render chart await render(); + + if (chart) { + await onUpdated?.(chart); + } } scope.run(() => {