diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index cd4978339..09f247929 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -2,6 +2,10 @@ ### [v2.0.0-beta.1](https://github.com/youzan/vant/tree/v2.0.0-beta.0) +##### Tab + +- 新增`border`属性 + ##### Uploader - `oversize`事件增加`detail`参数 diff --git a/packages/tab/en-US.md b/packages/tab/en-US.md index fd9c2268f..4e4c0871d 100644 --- a/packages/tab/en-US.md +++ b/packages/tab/en-US.md @@ -165,11 +165,12 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content | title-active-color | Title active color | `String` | - | | title-inactive-color | Title inactive color | `String` | - | | swipe-threshold | Set swipe tabs threshold | `Number` | `4` | - | -| sticky | Whether to use sticky mode | `Boolean` | `false` | | offset-top | Offset top when use sticky mode | `Number` | `0` | -| swipeable | Whether to switch tabs with swipe gestrue in the content | `Boolean` | `false` | | animated | Whether to change tabs with animation | `Boolean` | `false` | +| border | Whether to show border when `type="line"` | `Boolean` | `true` | | ellipsis | Whether to ellipsis too long title | `Boolean` | `true` | +| sticky | Whether to use sticky mode | `Boolean` | `false` | +| swipeable | Whether to switch tabs with swipe gestrue in the content | `Boolean` | `false` | | lazy-render | Whether to enable tab content lazy render | `Boolean` | `true` | ### Tab Props diff --git a/packages/tab/test/__snapshots__/index.spec.js.snap b/packages/tab/test/__snapshots__/index.spec.js.snap index 2f6f223f6..fc1cbdfef 100644 --- a/packages/tab/test/__snapshots__/index.spec.js.snap +++ b/packages/tab/test/__snapshots__/index.spec.js.snap @@ -1,5 +1,16 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`border props 1`] = ` +