mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Docs: fix a type error in document of steps component. (#17555)
This commit is contained in:
@@ -6,7 +6,7 @@ Guide the user to complete tasks in accordance with the process. Its steps can b
|
||||
|
||||
Simple step bar.
|
||||
|
||||
:::demo Set `active` attribute with `Number` type, which indicates the index of steps and starts from 0. You can set `space` attribute when the width of the step needs to be fixed which accepts `Boolean` type. The unit of the `space` attribute is `px`. If not set, it is responsive. Setting the `finish-status` attribute can change the state of the steps that have been completed.
|
||||
:::demo Set `active` attribute with `Number` type, which indicates the index of steps and starts from 0. You can set `space` attribute when the width of the step needs to be fixed which accepts `Number` type. The unit of the `space` attribute is `px`. If not set, it is responsive. Setting the `finish-status` attribute can change the state of the steps that have been completed.
|
||||
|
||||
```html
|
||||
<el-steps :active="active" finish-status="success">
|
||||
@@ -50,7 +50,7 @@ Shows the status of the step for each step.
|
||||
```
|
||||
:::
|
||||
|
||||
### Center
|
||||
### Center
|
||||
|
||||
Title and desription can be centered.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user