diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index 7a78d30a6..f5c1f83e9 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -10,6 +10,23 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). - Minor version:released every one to two months, including backwards compatible features. - Major version:including breaking changes and new features. +### [v2.10.8](https://github.com/youzan/vant/compare/v2.10.7...v2.10.8) + +`2020-09-21` + +**Feature** + +- SidebarItem: add title slot [#7220](https://github.com/youzan/vant/issues/7220) + +**Bug Fixes** + +- Calendar: incorrect month title [#7205](https://github.com/youzan/vant/issues/7205) +- CouponCell: discounted value [#7196](https://github.com/youzan/vant/issues/7196) +- Field: incorrect disabled color in iOS 14 [#7206](https://github.com/youzan/vant/issues/7206) +- List: scoped style not applied to first child [#7202](https://github.com/youzan/vant/issues/7202) +- Swipe: can't disable loop in some cases [#7208](https://github.com/youzan/vant/issues/7208) +- Swipe: incorrect indicator color trantision [#7207](https://github.com/youzan/vant/issues/7207) + ### [v2.10.7](https://github.com/youzan/vant/compare/v2.10.6...v2.10.7) `2020-09-17` diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index 32a7ea67a..d95cf46f7 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -10,6 +10,23 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 - 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。 - 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。 +### [v2.10.8](https://github.com/youzan/vant/compare/v2.10.7...v2.10.8) + +`2020-09-21` + +**Feature** + +- SidebarItem: 新增 title 插槽 [#7220](https://github.com/youzan/vant/issues/7220) + +**Bug Fixes** + +- Calendar: 修复月份标题展示错误的问题 [#7205](https://github.com/youzan/vant/issues/7205) +- CouponCell: 修复金额为 0 时取值逻辑错误的问题 [#7196](https://github.com/youzan/vant/issues/7196) +- Field: 修复在 iOS 14 上禁用时文字颜色过浅的问题 [#7206](https://github.com/youzan/vant/issues/7206) +- List: 修复个别情况下第一个子元素的 scoped 样式不生效的问题 [#7202](https://github.com/youzan/vant/issues/7202) +- Swipe: 修复宽度为小数时无法禁用循环滚动的问题 [#7208](https://github.com/youzan/vant/issues/7208) +- Swipe: 修复指示器切换时渐变动画闪烁的问题 [#7207](https://github.com/youzan/vant/issues/7207) + ### [v2.10.7](https://github.com/youzan/vant/compare/v2.10.6...v2.10.7) `2020-09-17` diff --git a/src/sidebar/README.md b/src/sidebar/README.md index 1af8d17d1..72427ed27 100644 --- a/src/sidebar/README.md +++ b/src/sidebar/README.md @@ -113,6 +113,6 @@ export default { ### SidebarItem Slots -| Name | Description | -| ----- | ---------------- | -| title | Custom item title | +| Name | Description | +| --------------- | ----------------- | +| title `v2.10.8` | Custom item title | diff --git a/src/sidebar/README.zh-CN.md b/src/sidebar/README.zh-CN.md index ed21ca2f0..d79e01c25 100644 --- a/src/sidebar/README.zh-CN.md +++ b/src/sidebar/README.zh-CN.md @@ -14,7 +14,7 @@ Vue.use(SidebarItem); ### 基础用法 -通过`v-model`绑定当前选中项的索引 +通过 `v-model` 绑定当前选中项的索引。 ```html @@ -36,7 +36,7 @@ export default { ### 徽标提示 -设置`dot`属性后,会在右上角展示一个小红点。设置`badge`属性后,会在右上角展示相应的徽标 +设置 `dot` 属性后,会在右上角展示一个小红点;设置 `badge` 属性后,会在右上角展示相应的徽标。 ```html @@ -48,7 +48,7 @@ export default { ### 禁用选项 -通过`disabled`属性禁用选项 +通过 `disabled` 属性禁用选项。 ```html @@ -60,7 +60,7 @@ export default { ### 监听切换事件 -设置`change`方法来监听切换导航项时的事件 +设置 `change` 方法来监听切换导航项时的事件。 ```html @@ -122,6 +122,6 @@ export default { ### SidebarItem Slots -| Name | Description | -| ----- | ----------- | -| title | 自定义标题 | +| Name | Description | +| --------------- | ----------- | +| title `v2.10.8` | 自定义标题 |