mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-30 00:00:05 +08:00
fix: 处理饼图动画错误的计算
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user