docs(changelog): 2.10.8

This commit is contained in:
chenjiahan 2020-09-21 21:36:15 +08:00
parent e59fa850e3
commit 43da00b724
4 changed files with 44 additions and 10 deletions

View File

@ -10,6 +10,23 @@ 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.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`

View File

@ -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`

View File

@ -113,6 +113,6 @@ export default {
### SidebarItem Slots
| Name | Description |
| ----- | ---------------- |
| title | Custom item title |
| Name | Description |
| --------------- | ----------------- |
| title `v2.10.8` | Custom item title |

View File

@ -14,7 +14,7 @@ Vue.use(SidebarItem);
### 基础用法
通过`v-model`绑定当前选中项的索引
通过 `v-model` 绑定当前选中项的索引
```html
<van-sidebar v-model="activeKey">
@ -36,7 +36,7 @@ export default {
### 徽标提示
设置`dot`属性后,会在右上角展示一个小红点。设置`badge`属性后,会在右上角展示相应的徽标
设置 `dot` 属性后,会在右上角展示一个小红点;设置 `badge` 属性后,会在右上角展示相应的徽标。
```html
<van-sidebar v-model="activeKey">
@ -48,7 +48,7 @@ export default {
### 禁用选项
通过`disabled`属性禁用选项
通过 `disabled` 属性禁用选项
```html
<van-sidebar v-model="activeKey">
@ -60,7 +60,7 @@ export default {
### 监听切换事件
设置`change`方法来监听切换导航项时的事件
设置 `change` 方法来监听切换导航项时的事件
```html
<van-sidebar v-model="activeKey" @change="onChange">
@ -122,6 +122,6 @@ export default {
### SidebarItem Slots
| Name | Description |
| ----- | ----------- |
| title | 自定义标题 |
| Name | Description |
| --------------- | ----------- |
| title `v2.10.8` | 自定义标题 |