docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions

View File

@@ -61,10 +61,10 @@ export default {
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| items | Required datasets for the component | `Item[]` | `[]` | - |
| 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` | - |
| items | Required datasets for the component | *Item[]* | `[]` | - |
| 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` | - |
### Events

View File

@@ -65,10 +65,10 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| items | 分类显示所需的数据 | `Item[]` | `[]` | - |
| height | 高度,默认单位为 px | `string | number` | `300` | - |
| main-active-index | 左侧高亮选项的索引 | `number` | `0` | - |
| active-id | 右侧高亮选项的 id支持传入数组 | `string | number | (string | number)[]` | `0` | - |
| items | 分类显示所需的数据 | *Item[]* | `[]` | - |
| height | 高度,默认单位为 px | *string \| number* | `300` | - |
| main-active-index | 左侧高亮选项的索引 | *number* | `0` | - |
| active-id | 右侧高亮选项的 id支持传入数组 | *string \| number \| (string \| number)[]* | `0` | - |
### Events