[Doc] add component changelog (#1816)

This commit is contained in:
neverland
2018-09-17 15:10:07 +08:00
committed by GitHub
parent 47aaf254b9
commit bde9f5adb2
55 changed files with 1102 additions and 383 deletions

View File

@@ -33,7 +33,7 @@ export default {
#### 自定义图标
通过 icon slot 自定义图标,可以通过 `slot-scope` 判断标签是否选中
通过 icon 插槽自定义图标,可以通过 `slot-scope` 判断标签是否选中
```html
<van-tabbar v-model="active">
@@ -95,3 +95,18 @@ export default {
| 名称 | 说明 | slot-scope |
|-----------|-----------|-----------|
| icon | 自定义图标 | active: 是否为选中标签 |
### 更新日志
| 版本 | 类型 | 内容 |
|-----------|-----------|-----------|
| 1.3.0 | bugfix | 修复使用 icon 插槽时 info 属性不生效的问题 |
| 1.2.0 | improvement | 优化 DOM 结构 |
| 1.1.15 | bugfix | 修复点击当前标签时依然会触发 change 事件的问题 |
| 1.1.9 | feature | 新增 z-index 属性 |
| 1.0.5 | improvement | info 属性支持 Number 类型 |
| 0.11.1 | feature | icon 插槽支持通过 slot-scope 判断 active 状态 |
| 0.10.8 | feature | 新增 to、replace 属性 |
| 0.10.5 | bugfix | 修复使用 icon slot 时 info prop 失效的问题 |
| 0.10.3 | feature | 新增 info 属性 |
| 0.10.0 | feature | 新增组件 |