Docs: fix a type error in document of steps component. (#17555)

This commit is contained in:
Haoran Yu
2020-04-13 10:49:33 +08:00
committed by GitHub
parent f3c76ee0ad
commit 4b869fbe41
4 changed files with 6 additions and 6 deletions

View File

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