mirror of
https://gitee.com/dromara/go-view.git
synced 2025-10-13 22:12:11 +08:00
Pre Merge pull request !201 from Retire/pr
This commit is contained in:
commit
3530769c78
@ -13,7 +13,7 @@ export enum PieTypeEnum {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const PieTypeObject = {
|
export const PieTypeObject = {
|
||||||
[PieTypeEnum.NORMAL]: 'nomal',
|
[PieTypeEnum.NORMAL]: 'normal',
|
||||||
[PieTypeEnum.RING]: 'ring',
|
[PieTypeEnum.RING]: 'ring',
|
||||||
[PieTypeEnum.ROSE]: 'rose'
|
[PieTypeEnum.ROSE]: 'rose'
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ watch(
|
|||||||
() => props.chartConfig.option.type,
|
() => props.chartConfig.option.type,
|
||||||
newData => {
|
newData => {
|
||||||
try {
|
try {
|
||||||
if (newData === 'nomal') {
|
if (newData === 'normal') {
|
||||||
props.chartConfig.option.series[0].radius = '70%'
|
props.chartConfig.option.series[0].radius = '70%'
|
||||||
props.chartConfig.option.series[0].roseType = false
|
props.chartConfig.option.series[0].roseType = false
|
||||||
} else if (newData === 'ring') {
|
} else if (newData === 'ring') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user