[changelog] 1.4.8

This commit is contained in:
陈嘉涵 2018-12-05 11:24:14 +08:00
parent 408c0f1655
commit f9336faca7
4 changed files with 36 additions and 2 deletions

View File

@ -1,5 +1,22 @@
## Changelog
## [v1.4.8](https://github.com/youzan/vant/tree/v1.4.8)
`2018-12-05`
**Improvements**
- Sku: add hide-quota-text prop [\#2216](https://github.com/youzan/vant/pull/2216)
- ImagePreview: add asyncClose prop [\#2198](https://github.com/youzan/vant/pull/2198)
- ImagePreview: add onClose params [\#2197](https://github.com/youzan/vant/pull/2197)
- ImagePreview: add fade transition [\#2196](https://github.com/youzan/vant/pull/2196)
**Bug Fixes**
- fix Notify type definition [\#2210](https://github.com/youzan/vant/pull/2210)
- fix Dialog default options [\#2208](https://github.com/youzan/vant/pull/2208)
- fix ImagePreview indicator color [\#2187](https://github.com/youzan/vant/pull/2187)
## [v1.4.7](https://github.com/youzan/vant/tree/v1.4.7)
`2018-11-27`

View File

@ -1,5 +1,22 @@
## 更新日志
## [v1.4.8](https://github.com/youzan/vant/tree/v1.4.8)
`2018-12-05`
**Improvements**
- Sku: 新增 hide-quota-text 属性 [\#2216](https://github.com/youzan/vant/pull/2216)
- ImagePreview: 新增 asyncClose 属性 [\#2198](https://github.com/youzan/vant/pull/2198)
- ImagePreview: 新增 onClose 回调参数 [\#2197](https://github.com/youzan/vant/pull/2197)
- ImagePreview: 新增淡入淡出动画效果 [\#2196](https://github.com/youzan/vant/pull/2196)
**Bug Fixes**
- 修复 Notify TS 类型定义错误 [\#2210](https://github.com/youzan/vant/pull/2210)
- 修复 Dialog 通过函数调用时默认值错误 [\#2208](https://github.com/youzan/vant/pull/2208)
- 修复 ImagePreview 指示器颜色错误 [\#2187](https://github.com/youzan/vant/pull/2187)
## [v1.4.7](https://github.com/youzan/vant/tree/v1.4.7)
`2018-11-27`

View File

@ -90,7 +90,7 @@ Vue.use(Sku);
| goods | Goods info | `Object` | - |
| goods-id | Goods id | `String | Number` | - |
| hide-stock | Whether to hide stock | `Boolean` | `false` |
| hide-quota-text | Whether to hide quota text | `Boolean` | `false` | - |
| hide-quota-text | Whether to hide quota text | `Boolean` | `false` |
| show-add-cart-btn | Whether to show cart button | `Boolean` | `true` |
| quota | Quota (0 as no limit) | `Number` | `0` |
| quota-used | Used quota | `Number` | `0` |

View File

@ -90,7 +90,7 @@ Vue.use(Sku);
| goods | 商品信息 | `Object` | - | - |
| goods-id | 商品 id | `String | Number` | - | - |
| hide-stock | 是否显示商品剩余库存 | `Boolean` | `false` | - |
| hide-quota-text | 是否显示限购提示 | `Boolean` | `false` | - |
| hide-quota-text | 是否显示限购提示 | `Boolean` | `false` | 1.4.8 |
| show-add-cart-btn | 是否显示加入购物车按钮 | `Boolean` | `true` | - |
| quota | 限购数0 表示不限购 | `Number` | `0` | - |
| quota-used | 已经购买过的数量 | `Number` | `0` | - |