[Doc] update changelog

This commit is contained in:
陈嘉涵
2018-10-18 18:50:23 +08:00
parent 2228e46733
commit 2e8d7e0b4f
107 changed files with 810 additions and 1212 deletions

View File

@@ -48,7 +48,7 @@ export default {
#### API
| 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` |
@@ -57,7 +57,7 @@ export default {
#### Event
| Event | Description | Arguments |
|-----------|-----------|-----------|
|------|------|------|
| navclick | triggered when parent node is selected | index: index of selected parent |
| itemclick | triggered when item is selected | data: selected item |

View File

@@ -48,17 +48,17 @@ export default {
#### 传入参数
| 参数 | 说明 | 类型 | 默认值 |
|-----------|-----------|-----------|-------------|
| items | 分类显示所需的数据,结构参见下方 | `Array` | `[]` |
| height | 高度,单位为 px | `Number` | `300` |
| main-active-index | 左侧导航高亮的索引 | `Number` | `0` |
| active-id | 右侧选择项高亮的数据id | `String | Number` | `0` |
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| items | 分类显示所需的数据,结构参见下方 | `Array` | `[]` | - |
| height | 高度,单位为 px | `Number` | `300` | 1.3.6 |
| main-active-index | 左侧导航高亮的索引 | `Number` | `0` | - |
| active-id | 右侧选择项高亮的数据id | `String | Number` | `0` | - |
#### 事件
| 事件名 | 说明 | 参数 |
|-----------|-----------|-----------|
|------|------|------|
| navclick | 左侧导航点击时,触发的事件 | index被点击的导航的索引 |
| itemclick | 右侧选择项被点击时,会触发的事件 | data: 该点击项的数据 |
@@ -90,10 +90,3 @@ export default {
}
]
```
### 更新日志
| 版本 | 类型 | 内容 |
|-----------|-----------|-----------|
| 1.3.6 | feature | 新增 height 属性 |
| 1.1.5 | feature | 支持 string 类型 id |