diff --git a/docs/en-US/component/anchor.md b/docs/en-US/component/anchor.md index 99d8580dc8..4753a2571c 100644 --- a/docs/en-US/component/anchor.md +++ b/docs/en-US/component/anchor.md @@ -84,7 +84,7 @@ anchor/affix | bound | the offset of the element starting to trigger the anchor. | `number` | 15 | | duration | set the scroll duration of the container, in milliseconds. | `number` | 300 | | marker | whether to show the marker. | ^[boolean] | true | -| type | set Anchor type. | ^[enum]`'defalut' \| 'underline'` | `default` | +| type | set Anchor type. | ^[enum]`'default' \| 'underline'` | `default` | | direction | Set Anchor direction. | ^[enum]`'vertical' \| 'horizontal'` | `vertical` | ### Anchor Events diff --git a/docs/examples/anchor/scroll.vue b/docs/examples/anchor/scroll.vue index cc00374950..8cb7b88aa1 100644 --- a/docs/examples/anchor/scroll.vue +++ b/docs/examples/anchor/scroll.vue @@ -52,7 +52,7 @@ diff --git a/packages/components/tour/src/step.ts b/packages/components/tour/src/step.ts index dfb062000f..90669462bd 100644 --- a/packages/components/tour/src/step.ts +++ b/packages/components/tour/src/step.ts @@ -80,7 +80,7 @@ export const tourStepProps = buildProps({ * @description type, affects the background color and text color */ type: { - type: definePropType<'defalut' | 'primary'>(String), + type: definePropType<'default' | 'primary'>(String), }, }) diff --git a/packages/components/tour/src/tour.ts b/packages/components/tour/src/tour.ts index 77e94ad6a8..0d1de36cf2 100644 --- a/packages/components/tour/src/tour.ts +++ b/packages/components/tour/src/tour.ts @@ -89,7 +89,7 @@ export const tourProps = buildProps({ * @description type, affects the background color and text color */ type: { - type: definePropType<'defalut' | 'primary'>(String), + type: definePropType<'default' | 'primary'>(String), }, /** * @description which element the TourContent appends to