fix: 拼写错误

This commit is contained in:
retire 2023-08-21 17:41:26 +08:00
parent 4d075cff2f
commit 58375f1725
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') {