[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
+2 -2
View File
@@ -47,7 +47,7 @@ import 'vant/lib/vant-css/icon-local.css';
### API
| Attribute | Description | Type | Default |
|-----------|-----------|-----------|-------------|
|------|------|------|------|
| name | Icon name | `String` | `''` |
| info | Info message | `String | Number` | `''` |
| color | Icon color | `String` | `inherit` |
@@ -58,5 +58,5 @@ import 'vant/lib/vant-css/icon-local.css';
### Event
| Event | Description | Arguments |
|-----------|-----------|-----------|
|------|------|------|
| click | Triggered when click icon | - |
+8 -17
View File
@@ -50,26 +50,17 @@ import 'vant/lib/vant-css/icon-local.css';
### API
| 参数 | 说明 | 类型 | 默认值 |
|-----------|-----------|-----------|-------------|
| name | 图标名称 | `String` | - |
| info | 图标右上角文字提示 | `String | Number` | - |
| color | 图标颜色 | `String` | `inherit` |
| size | 图标大小,如 `20px``2em` | `String` | `inherit` |
| class-prefix | 类名前缀 | `String` | `van-icon` |
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| name | 图标名称 | `String` | - | - |
| info | 图标右上角文字提示 | `String | Number` | - | - |
| color | 图标颜色 | `String` | `inherit` | 1.1.3 |
| size | 图标大小,如 `20px` `2em` | `String` | `inherit` | 1.1.15 |
| class-prefix | 类名前缀 | `String` | `van-icon` | 1.2.1 |
### Event
| 事件名 | 说明 | 参数 |
|-----------|-----------|-----------|
|------|------|------|
| click | 点击图标时触发 | - |
### 更新日志
| 版本 | 类型 | 内容 |
|-----------|-----------|-----------|
| 1.2.1 | feature | 新增 class-prefix 属性
| 1.2.0 | bugfix | 修复 size 属性不生效的问题
| 1.1.15 | feature | 新增 size 属性
| 1.1.10 | breaking change | 移除 birthday-privilege、member-day-privilege、balance-details 图标
| 1.1.3 | feature | 新增 color 属性