diff --git a/src/components/GoVChart/index.vue b/src/components/GoVChart/index.vue index 200be4b3..5d28ff84 100644 --- a/src/components/GoVChart/index.vue +++ b/src/components/GoVChart/index.vue @@ -209,7 +209,11 @@ const createOrUpdateChart = ( return true } else if (chart) { const spec = transformHandler[chartProps.category || '']?.(chartProps) - chart.updateSpec({ ...spec, data: toRaw(chartProps.dataset), dataset: undefined }) + chart.updateSpec({ ...spec, data: toRaw(chartProps.dataset), dataset: undefined }, false, undefined, { + change: false, + reMake: false, + reAnimate: true + }) return true } return false diff --git a/src/packages/components/VChart/Pies/VChartPie/config.vue b/src/packages/components/VChart/Pies/VChartPie/config.vue index c310188f..b037ed18 100644 --- a/src/packages/components/VChart/Pies/VChartPie/config.vue +++ b/src/packages/components/VChart/Pies/VChartPie/config.vue @@ -129,7 +129,7 @@ const animationHandle = (value: boolean) => { effects: { channel: { outerRadius: { - to: props.optionData.outerRadius * 100 + 0.1 + to: props.optionData.outerRadius * 100 + 10 } }, easing: 'linear' @@ -140,7 +140,7 @@ const animationHandle = (value: boolean) => { effects: { channel: { outerRadius: { - to: props.optionData.outerRadius * 100 + 0.1 + to: props.optionData.outerRadius * 100 + 10 } }, easing: 'linear'