Merge branch 'main' into main

This commit is contained in:
Jin Mao
2026-02-10 12:08:16 +08:00
committed by GitHub

View File

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