Pre Merge pull request !201 from Retire/pr

This commit is contained in:
Retire 2023-09-03 09:42:23 +00:00 committed by Gitee
commit 3530769c78
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ export enum PieTypeEnum {
}
export const PieTypeObject = {
[PieTypeEnum.NORMAL]: 'nomal',
[PieTypeEnum.NORMAL]: 'normal',
[PieTypeEnum.RING]: 'ring',
[PieTypeEnum.ROSE]: 'rose'
}

View File

@ -103,7 +103,7 @@ watch(
() => props.chartConfig.option.type,
newData => {
try {
if (newData === 'nomal') {
if (newData === 'normal') {
props.chartConfig.option.series[0].radius = '70%'
props.chartConfig.option.series[0].roseType = false
} else if (newData === 'ring') {