docs(changelog): 2.2.11

This commit is contained in:
陈嘉涵 2019-11-04 20:49:26 +08:00
parent 99d8f4a302
commit 9c54a77845
2 changed files with 36 additions and 0 deletions

View File

@ -1,5 +1,23 @@
# Changelog
### [v2.2.11](https://github.com/youzan/vant/tree/v2.2.11)
`2019-11-04`
**Features**
- Switch: add click event [\#4915](https://github.com/youzan/vant/pull/4915)
- Switch: support number type of size prop [\#4913](https://github.com/youzan/vant/pull/4913)
- Toast: change default duration to 2s [\#4886](https://github.com/youzan/vant/pull/4886)
- Uploader: add closeImagePreview method [\#4901](https://github.com/youzan/vant/pull/4901)
**Bug Fixes**
- fix Button loading color [\#4868](https://github.com/youzan/vant/pull/4868)
- fix CountDown should clear timer when destroyed [\#4918](https://github.com/youzan/vant/pull/4918)
- fix CountDown should pause timer when deactivated [\#4919](https://github.com/youzan/vant/pull/4919)
- fix Grid info、dot prop not work when use icon slot [\#4902](https://github.com/youzan/vant/pull/4902)
### [v2.2.10](https://github.com/youzan/vant/tree/v2.2.10)
`2019-10-27`

View File

@ -10,6 +10,24 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
- 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。
### [v2.2.11](https://github.com/youzan/vant/tree/v2.2.11)
`2019-11-04`
**Features**
- Switch: 新增 click 事件 [\#4915](https://github.com/youzan/vant/pull/4915)
- Switch: size 属性支持 number 类型 [\#4913](https://github.com/youzan/vant/pull/4913)
- Toast: 默认持续时间由 3 秒调整为 2 秒 [\#4886](https://github.com/youzan/vant/pull/4886)
- Uploader: 新增 closeImagePreview 方法 [\#4901](https://github.com/youzan/vant/pull/4901)
**Bug Fixes**
- 修复 Button 加载图标颜色不正确的问题 [\#4868](https://github.com/youzan/vant/pull/4868)
- 修复 CountDown 在销毁时未清除定时器的问题 [\#4918](https://github.com/youzan/vant/pull/4918)
- 修复 CountDown 在 keep-alive 状态下未暂停定时器的问题 [\#4919](https://github.com/youzan/vant/pull/4919)
- 修复 Grid 使用 icon 插槽时 info、dot 属性不生效的问题 [\#4902](https://github.com/youzan/vant/pull/4902)
### [v2.2.10](https://github.com/youzan/vant/tree/v2.2.10)
`2019-10-27`