1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

docs(changelog): 2.8.1

This commit is contained in:
chenjiahan 2020-05-09 10:18:58 +08:00
parent 4a6ca0a9df
commit 88bf16fe00
2 changed files with 40 additions and 0 deletions

@ -10,6 +10,26 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
- Minor versionreleased every one to two months, including backwards compatible features.
- Major versionincluding breaking changes and new features.
### [v2.8.1](https://github.com/youzan/vant/compare/v2.8.1-beta.0...v2.8.1)
`2020-05-09`
**Feature**
- Calendar: add lazy-render prop [#6245](https://github.com/youzan/vant/issues/6245)
- Field: add click-input event [#6239](https://github.com/youzan/vant/issues/6239)
- Sku: add sku-reset event [#6220](https://github.com/youzan/vant/issues/6220)
- GoodsActionButton: improve test size adjust [b1dcf3](https://github.com/youzan/vant/commit/b1dcf36263ae7a19197f2c162e67f220dd171047)
**Bug Fixes**
- Button: text should align center [8c53db](https://github.com/youzan/vant/commit/8c53db040dd0dfff60eca1ac284d98f13b4e4ce6)
- Field: should not submit form on enter [#6240](https://github.com/youzan/vant/issues/6240)
- Step: active-color should effect circle [#6229](https://github.com/youzan/vant/issues/6229)
- Stepper: incorrect value when format minus value [#6238](https://github.com/youzan/vant/issues/6238)
- Stepper: should not display NaN [7327a4](https://github.com/youzan/vant/commit/7327a481d18271393e25b17d4402dad6d336bb3a)
- Stepper: should not emit focus when input is readonly [c6024b](https://github.com/youzan/vant/commit/c6024b18b4191a3a56db0bed1ababa48420c0946)
### [v2.8.0](https://github.com/youzan/vant/compare/v2.7.1...v2.8.0)
`2020-05-05`

@ -10,6 +10,26 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
- 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。
### [v2.8.1](https://github.com/youzan/vant/compare/v2.8.1-beta.0...v2.8.1)
`2020-05-09`
**Feature**
- Calendar: 新增 lazy-render 属性,用于控制是否开启延迟渲染 [#6245](https://github.com/youzan/vant/issues/6245)
- Field: 新增 click-input 事件,在点击输入框时触发 [#6239](https://github.com/youzan/vant/issues/6239)
- Sku: 新增 sku-reset 事件,在规格重置时触发 [#6220](https://github.com/youzan/vant/issues/6220)
- GoodsActionButton: 适配系统字体放大 [b1dcf3](https://github.com/youzan/vant/commit/b1dcf36263ae7a19197f2c162e67f220dd171047)
**Bug Fixes**
- Button: 修复文字在部分机型上不居中的问题 [8c53db](https://github.com/youzan/vant/commit/8c53db040dd0dfff60eca1ac284d98f13b4e4ce6)
- Field: 修复回车键会触发表单提交的问题 [#6240](https://github.com/youzan/vant/issues/6240)
- Step: 修复 active-color 属性对小圆点颜色不生效的问题 [#6229](https://github.com/youzan/vant/issues/6229)
- Stepper: 修复输入负数时格式化错误的问题 [#6238](https://github.com/youzan/vant/issues/6238)
- Stepper: 修复个别情况下会展示 NaN 的问题 [7327a4](https://github.com/youzan/vant/commit/7327a481d18271393e25b17d4402dad6d336bb3a)
- Stepper: 修复设置 disable-input 属性后在部分浏览器上仍会触发 focus 事件的问题 [c6024b](https://github.com/youzan/vant/commit/c6024b18b4191a3a56db0bed1ababa48420c0946)
### [v2.8.0](https://github.com/youzan/vant/compare/v2.7.1...v2.8.0)
`2020-05-05`