mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 03:08:21 +08:00
fix(components): [anchor,tour] the type
type typo (#16119)
chore: fix typo
This commit is contained in:
parent
5b4254f73f
commit
e80262b2db
@ -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
|
||||
|
@ -52,7 +52,7 @@
|
||||
<el-anchor
|
||||
:container="containerRef"
|
||||
direction="vertical"
|
||||
type="defalut"
|
||||
type="default"
|
||||
:offset="30"
|
||||
@click="handleClick"
|
||||
>
|
||||
|
@ -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),
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user