diff --git a/src/calendar/README.md b/src/calendar/README.md index 70c9db79b..be87db300 100644 --- a/src/calendar/README.md +++ b/src/calendar/README.md @@ -268,7 +268,7 @@ Following props are supported when the type is range | --- | --- | --- | --- | | max-range `v2.4.3` | Number of selectable days | _number \| string_ | Unlimitied | | range-prompt `v2.4.3` | Error message when exceeded max range | _string_ | `Choose no more than xx days` | -| allow-same-day `v2.5.6` | Whether the start and end time of the range is allowed on the same day | _boolean_ | `fasle` | +| allow-same-day `v2.5.6` | Whether the start and end time of the range is allowed on the same day | _boolean_ | `false` | ### Multiple Props diff --git a/src/calendar/README.zh-CN.md b/src/calendar/README.zh-CN.md index a7c8fb1a4..d1b949be9 100644 --- a/src/calendar/README.zh-CN.md +++ b/src/calendar/README.zh-CN.md @@ -270,7 +270,7 @@ export default { | --- | --- | --- | --- | | max-range `v2.4.3` | 日期区间最多可选天数 | _number \| string_ | 无限制 | | range-prompt `v2.4.3` | 范围选择超过最多可选天数时的提示文案 | _string_ | `选择天数不能超过 xx 天` | -| allow-same-day `v2.5.6` | 是否允许日期范围的起止时间为同一天 | _boolean_ | `fasle` | +| allow-same-day `v2.5.6` | 是否允许日期范围的起止时间为同一天 | _boolean_ | `false` | ### Multiple Props diff --git a/src/row/index.less b/src/row/index.less index 3858f4d68..8e8d5e967 100644 --- a/src/row/index.less +++ b/src/row/index.less @@ -9,6 +9,7 @@ &--flex { display: flex; + flex-wrap: wrap; &::after { display: none; diff --git a/src/tab/README.zh-CN.md b/src/tab/README.zh-CN.md index 1df713497..ef11a0dae 100644 --- a/src/tab/README.zh-CN.md +++ b/src/tab/README.zh-CN.md @@ -241,7 +241,7 @@ export default { | lazy-render | 是否开启延迟渲染(首次切换到标签时才触发内容渲染) | _boolean_ | `true` | | scrollspy `v2.3.0` | 是否开启滚动导航 | _boolean_ | `false` | | offset-top `v2.8.7` | 粘性定位布局下与顶部的最小距离,支持 `px` `vw` `rem` 单位,默认 `px` | _number \| string_ | `0` | -| swipe-threshold | 滚动阈值,标签数量超过阈值时开始横向滚动 | _number \| string_ | `5` | +| swipe-threshold | 滚动阈值,标签数量超过阈值且总宽度超过标签栏宽度时开始横向滚动 | _number \| string_ | `5` | | title-active-color | 标题选中态颜色 | _string_ | - | | title-inactive-color | 标题默认态颜色 | _string_ | - | | before-change `v2.9.3` | 切换标签前的回调函数,返回 `false` 可阻止切换,支持返回 Promise | _(name) => boolean \| Promise_ | - | diff --git a/src/tabs/Title.js b/src/tabs/Title.js index 6d112a252..58c3d87f8 100644 --- a/src/tabs/Title.js +++ b/src/tabs/Title.js @@ -15,7 +15,6 @@ export default createComponent({ scrollable: Boolean, activeColor: String, inactiveColor: String, - swipeThreshold: [Number, String], }, computed: { diff --git a/src/tabs/index.js b/src/tabs/index.js index 8d147a3ce..da2af15a0 100644 --- a/src/tabs/index.js +++ b/src/tabs/index.js @@ -373,7 +373,6 @@ export default createComponent({ scrollable={scrollable} activeColor={this.titleActiveColor} inactiveColor={this.titleInactiveColor} - swipeThreshold={this.swipeThreshold} scopedSlots={{ default: () => item.slots('title'), }}