fix(Slider): should format initial value (#4337)

This commit is contained in:
neverland
2019-09-03 11:57:48 +08:00
committed by GitHub
parent 390e89fca2
commit 45d60aaf88
6 changed files with 29 additions and 5 deletions

View File

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

View File

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