fix(components): [anchor,tour] the type type typo (#16119)

chore: fix typo
This commit is contained in:
sea 2024-03-13 14:46:02 +08:00 committed by GitHub
parent 5b4254f73f
commit e80262b2db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -52,7 +52,7 @@
<el-anchor
:container="containerRef"
direction="vertical"
type="defalut"
type="default"
:offset="30"
@click="handleClick"
>

View File

@ -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),
},
})

View File

@ -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