Skip to content

Commit e6f6e54

Browse files
authored
Merge branch 'main' into main
2 parents 463bfde + 7d04b60 commit e6f6e54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/effects/plugins/src/echarts/use-echarts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
105105
});
106106
};
107107

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

0 commit comments

Comments
 (0)