mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
fix(Slider): should format initial value (#4337)
This commit is contained in:
@@ -97,7 +97,7 @@ export default {
|
||||
| height | Height | *string \| number* | `300` | - |
|
||||
| main-Active-index | The index of selected parent node | *number* | `0` | - |
|
||||
| active-id | Id of selected item | *string \| number \| (string \| number)[]* | `0` | - |
|
||||
| max | Maximum number of selected items | *number* | `Infinity` | 2.1.9 |
|
||||
| max | Maximum number of selected items | *number* | `Infinity` | 2.2.0 |
|
||||
|
||||
### Events
|
||||
|
||||
|
@@ -103,7 +103,7 @@ export default {
|
||||
| height | 高度,默认单位为 px | *string \| number* | `300` | - |
|
||||
| main-active-index | 左侧选中项的索引 | *number* | `0` | - |
|
||||
| active-id | 右侧选中项的 id,支持传入数组 | *string \| number \| (string \| number)[]* | `0` | - |
|
||||
| max | 右侧项最大选中个数 | *number* | *Infinity* | 2.1.9 |
|
||||
| max | 右侧项最大选中个数 | *number* | *Infinity* | 2.2.0 |
|
||||
|
||||
### Events
|
||||
|
||||
|
Reference in New Issue
Block a user