docs(changelog): 2.2.13

This commit is contained in:
陈嘉涵 2019-11-14 20:56:16 +08:00
parent 8134471ffc
commit 40f71584e8
2 changed files with 47 additions and 0 deletions

View File

@ -1,5 +1,29 @@
# Changelog
### [v2.2.13](https://github.com/youzan/vant/tree/v2.2.13)
`2019-11-14`
**Features**
- Area: add swipe-duration prop [\#5014](https://github.com/youzan/vant/pull/5014)
- Swipe: add stop-propagation prop [\#4972](https://github.com/youzan/vant/pull/4972)
- Toast: add overlay option [\#4969](https://github.com/youzan/vant/pull/4969)
- Toast: add clickOnClickOverlay option [\#4967](https://github.com/youzan/vant/pull/4967)
- SwipeCell: add opened event [\#4986](https://github.com/youzan/vant/pull/4986)
- ActionSheet: add close-icon prop [\#5016](https://github.com/youzan/vant/pull/5016)
- DropdownItem: add title slot [\#4975](https://github.com/youzan/vant/pull/4975)
- DatetimePicker: add swipe-duration prop [\#5015](https://github.com/youzan/vant/pull/5015)
**Bug Fixes**
- fix Tab can't match when name is 0 [\#5017](https://github.com/youzan/vant/pull/5017)
- fix Indexbar incorrect anchor position when hidden [\#5012](https://github.com/youzan/vant/pull/5012)
- fix Indexbar incorrect anchor position when set sticky-offset-top [\#5012](https://github.com/youzan/vant/pull/5012)
- fix DatetimePicker can't change when filter when empty array [\#4973](https://github.com/youzan/vant/pull/4973)
- fix DateTimePicker incorrect value when set max-hour or max-minute [\#5006](https://github.com/youzan/vant/pull/5006)
- fix ImagePreview missing swipeDuration type definition [\#4968](https://github.com/youzan/vant/pull/4968)
### [v2.2.12](https://github.com/youzan/vant/tree/v2.2.12)
`2019-11-07`

View File

@ -10,6 +10,29 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
- 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。
### [v2.2.13](https://github.com/youzan/vant/tree/v2.2.13)
`2019-11-14`
**Features**
- Area: 新增 swipe-duration 属性 [\#5014](https://github.com/youzan/vant/pull/5014)
- Swipe: 新增 stop-propagation 属性 [\#4972](https://github.com/youzan/vant/pull/4972)
- Toast: 新增 overlay 选项 [\#4969](https://github.com/youzan/vant/pull/4969)
- Toast: 新增 clickOnClickOverlay 选项 [\#4967](https://github.com/youzan/vant/pull/4967)
- SwipeCell: 新增 opened 事件 [\#4986](https://github.com/youzan/vant/pull/4986)
- ActionSheet: 新增 close-icon 属性 [\#5016](https://github.com/youzan/vant/pull/5016)
- DropdownItem: 新增 title 插槽 [\#4975](https://github.com/youzan/vant/pull/4975)
- DatetimePicker: 新增 swipe-duration 属性 [\#5015](https://github.com/youzan/vant/pull/5015)
**Bug Fixes**
- 修复 Tab name 设置为 0 时无法正确匹配的问题 [\#5017](https://github.com/youzan/vant/pull/5017)
- 修复 Indexbar 隐藏时可能出现锚点位置错误的问题 [\#5012](https://github.com/youzan/vant/pull/5012)
- 修复 Indexbar 设置 sticky-offset-top 后可能出现锚点位置错误的问题 [\#5012](https://github.com/youzan/vant/pull/5012)
- 修复 DatetimePicker 使用 filter 并返回空数组时无法切换时间的问题 [\#4973](https://github.com/youzan/vant/pull/4973)
- 修复 DateTimePicker 动态设置 max-hour 并小于 v-model 绑定的时间时出现错误的问题 [\#5006](https://github.com/youzan/vant/pull/5006)
- 修复 ImagePreview 类型中定义缺少 swipeDuration 选项的问题 [\#4968](https://github.com/youzan/vant/pull/4968)
### [v2.2.12](https://github.com/youzan/vant/tree/v2.2.12)
`2019-11-07`