docs: update numeric type
This commit is contained in:
@@ -112,9 +112,9 @@ export default {
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| items | Required datasets for the component | *Item[]* | `[]` |
|
||||
| height | Height | *string \| number* | `300` |
|
||||
| height | Height | *number \| string* | `300` |
|
||||
| main-Active-index | The index of selected parent node | *number* | `0` |
|
||||
| active-id | Id of selected item | *string \| number \| (string \| number)[]* | `0` |
|
||||
| active-id | Id of selected item | *number \| string \| (number \| string)[]* | `0` |
|
||||
| max `v2.2.0` | Maximum number of selected items | *number* | `Infinity` |
|
||||
|
||||
### Events
|
||||
|
||||
@@ -120,9 +120,9 @@ export default {
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| items | 分类显示所需的数据 | *Item[]* | `[]` |
|
||||
| height | 高度,默认单位为`px` | *string \| number* | `300` |
|
||||
| height | 高度,默认单位为`px` | *number \| string* | `300` |
|
||||
| main-active-index | 左侧选中项的索引 | *number* | `0` |
|
||||
| active-id | 右侧选中项的 id,支持传入数组 | *string \| number \| (string \| number)[]* | `0` |
|
||||
| active-id | 右侧选中项的 id,支持传入数组 | *number \| string \| (number \| string)[]* | `0` |
|
||||
| max `v2.2.0` | 右侧项最大选中个数 | *number* | `Infinity` |
|
||||
|
||||
### Events
|
||||
|
||||
Reference in New Issue
Block a user