Jin Mao
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
packages/effects/plugins/src/echarts/use-echarts.ts
|
|
|
@ -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, |
|
|
|
}; |
|
|
|
} |
|
|
|
|