From 9c54a7784593b11cb52cc2469e9cda0a991d627c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Mon, 4 Nov 2019 20:49:26 +0800 Subject: [PATCH] docs(changelog): 2.2.11 --- docs/markdown/changelog.en-US.md | 18 ++++++++++++++++++ docs/markdown/changelog.zh-CN.md | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index a7c2179f3..e4400ba29 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -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` diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index bae822eb6..ac739547b 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -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`