[Doc] use ts-style type
This commit is contained in:
@@ -51,9 +51,9 @@ export default {
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| items | Required datasets for the component, see Data Structure for detail. | `Array` | `[]` |
|
||||
| height | Height (px) | `Number` | `300` |
|
||||
| main-Active-index | The index of selected parent node | `Number` | `0` |
|
||||
| active-id | Id of selected item | `String | Number` | `0` |
|
||||
| height | Height (px) | `number` | `300` |
|
||||
| main-Active-index | The index of selected parent node | `number` | `0` |
|
||||
| active-id | Id of selected item | `string | number` | `0` |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
@@ -51,9 +51,9 @@ export default {
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| items | 分类显示所需的数据,结构参见下方 | `Array` | `[]` | - |
|
||||
| height | 高度,单位为 px | `Number` | `300` | - |
|
||||
| main-active-index | 左侧导航高亮的索引 | `Number` | `0` | - |
|
||||
| active-id | 右侧选择项,高亮的数据id | `String | Number` | `0` | - |
|
||||
| height | 高度,单位为 px | `number` | `300` | - |
|
||||
| main-active-index | 左侧导航高亮的索引 | `number` | `0` | - |
|
||||
| active-id | 右侧选择项,高亮的数据id | `string | number` | `0` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user