Merge branch 'main' into main

pull/332/head^2
Jin Mao 2026-02-10 12:08:16 +08:00 committed by GitHub
commit e6f6e5464a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
}); });
}; };
const updateDate = ( const updateData = (
option: EChartsOption, option: EChartsOption,
notMerge = false, // false = 合并保留动画true = 完全替换 notMerge = false, // false = 合并保留动画true = 完全替换
lazyUpdate = false, // true 时不立即重绘,适合短时间内多次调用 lazyUpdate = false, // true 时不立即重绘,适合短时间内多次调用
@ -170,7 +170,7 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
return { return {
renderEcharts, renderEcharts,
resize, resize,
updateDate, updateData,
getChartInstance: () => chartInstance, getChartInstance: () => chartInstance,
}; };
} }