sf-step.vue
v0.1.3
Published
<!-- 该 README.md 根据 api.yaml 和 docs/*.md 自动生成,为了方便在 GitHub 和 NPM 上查阅。如需修改,请查看源文件 -->
Downloads
12
Maintainers
Readme
SfStep sf步骤条
布局, 表单
经常用于表单页面
示例
基本用法
props
| 参数 | 默认值 | 是否是必填 | 类型 |可选值 |名称|
|----- |------------------|------- |-------------------|------ |----|
| active | 0 | true
| Number
| - | 当前激活步骤|
| list | [ ] | true
| Array
| - | 显示步骤数据(最多显示五步) |
<sf-step :active="1" :list="['步骤一', '步骤二', '步骤三']"/>
API
Props/Attrs
| Prop/Attr | Type | Options | Default | Description |
| --------- | ---- | ------- | ------- | ----------- |
| active | Number | | 0
| 设置当前激活步骤 |
| list | Array | | []
| 显示步骤数据 |