mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(changelog): 2.5.9-beta.0
This commit is contained in:
parent
af92dd14b8
commit
80837e9a91
@ -1,5 +1,20 @@
|
||||
# Changelog
|
||||
|
||||
### [v2.5.9-beta.0](https://github.com/youzan/vant/compare/v2.5.8...v2.5.9-beta.0)
|
||||
|
||||
`2020-03-28`
|
||||
|
||||
**Feature**
|
||||
|
||||
- AddressEdit: add click-area event [#5939](https://github.com/youzan/vant/issues/5939)
|
||||
- NavBar: add placeholder prop [#5938](https://github.com/youzan/vant/issues/5938)
|
||||
- Steps: add click-step event [#5937](https://github.com/youzan/vant/issues/5937)
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- NumberKeyboard: show-delete-key prop not work [#5935](https://github.com/youzan/vant/issues/5935)
|
||||
- Toast: incorrect height in legacy devices [#5931](https://github.com/youzan/vant/issues/5931)
|
||||
|
||||
### [v2.5.8](https://github.com/youzan/vant/compare/v2.5.7...v2.5.8)
|
||||
|
||||
`2020-03-27`
|
||||
|
@ -10,6 +10,21 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
||||
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
|
||||
- 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。
|
||||
|
||||
### [v2.5.9-beta.0](https://github.com/youzan/vant/compare/v2.5.8...v2.5.9-beta.0)
|
||||
|
||||
`2020-03-28`
|
||||
|
||||
**Feature**
|
||||
|
||||
- AddressEdit: 新增 click-area 事件 [#5939](https://github.com/youzan/vant/issues/5939)
|
||||
- NavBar: 新增 placeholder 属性 [#5938](https://github.com/youzan/vant/issues/5938)
|
||||
- Steps: 新增 click-step 事件 [#5937](https://github.com/youzan/vant/issues/5937)
|
||||
|
||||
**Bug Fixes**
|
||||
|
||||
- NumberKeyboard: 修复 show-delete-key 属性不生效的问题 [#5935](https://github.com/youzan/vant/issues/5935)
|
||||
- Toast: 修复在部分机型上高度错误的问题 [#5931](https://github.com/youzan/vant/issues/5931)
|
||||
|
||||
### [v2.5.8](https://github.com/youzan/vant/compare/v2.5.7...v2.5.8)
|
||||
|
||||
`2020-03-27`
|
||||
|
@ -61,7 +61,7 @@ export default {
|
||||
| left-arrow | Whether to show left arrow | *boolean* | `false` |
|
||||
| border | Whether to show bottom border | *boolean* | `true` |
|
||||
| fixed | Whether to fixed top | *boolean* | `false` |
|
||||
| placeholder `v2.6.0` | Whether to generage a placeholder element when fixed | *boolean* | `false` |
|
||||
| placeholder `v2.5.9` | Whether to generage a placeholder element when fixed | *boolean* | `false` |
|
||||
| z-index | Z-index | *number \| string* | `1` |
|
||||
|
||||
### Slots
|
||||
|
@ -63,7 +63,7 @@ export default {
|
||||
| left-arrow | 是否显示左侧箭头 | *boolean* | `false` |
|
||||
| border | 是否显示下边框 | *boolean* | `true` |
|
||||
| fixed | 是否固定在顶部 | *boolean* | `false` |
|
||||
| placeholder `v2.6.0` | 固定在顶部时,是否在标签位置生成一个等高的占位元素 | *boolean* | `false` |
|
||||
| placeholder `v2.5.9` | 固定在顶部时,是否在标签位置生成一个等高的占位元素 | *boolean* | `false` |
|
||||
| z-index | 元素 z-index | *number \| string* | `1` |
|
||||
|
||||
### Slots
|
||||
|
@ -145,7 +145,7 @@ Use `title` prop to set keyboard title
|
||||
| extra-key | Content of bottom left key | *string* | `''` |
|
||||
| close-button-text | Close button text | *string* | `-` |
|
||||
| delete-button-text | Delete button text | *string* | `delete` |
|
||||
| show-delete-key `v2.6.0` | Whether to show delete button | *boolean* | `true` |
|
||||
| show-delete-key `v2.5.9` | Whether to show delete button | *boolean* | `true` |
|
||||
| hide-on-click-outside | Whether to hide keyboard when click outside | *boolean* | `true` |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `true` |
|
||||
|
||||
|
@ -151,7 +151,7 @@ export default {
|
||||
| extra-key | 左下角按键内容 | *string* | `''` |
|
||||
| close-button-text | 关闭按钮文字,空则不展示 | *string* | `-` |
|
||||
| delete-button-text | 删除按钮文字 | *string* | `删除` |
|
||||
| show-delete-key `v2.6.0` | 是否展示删除按钮 | *boolean* | `true` |
|
||||
| show-delete-key `v2.5.9` | 是否展示删除按钮 | *boolean* | `true` |
|
||||
| hide-on-click-outside | 点击外部时是否收起键盘 | *boolean* | `true` |
|
||||
| safe-area-inset-bottom | 是否开启[底部安全区适配](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` |
|
||||
|
||||
|
@ -90,4 +90,4 @@ export default {
|
||||
|
||||
| Event | Description | Arguments |
|
||||
|------|------|------|
|
||||
| click-step `v2.6.0` | Triggered when a step's title or icon is clicked | *index: number* |
|
||||
| click-step `v2.5.9` | Triggered when a step's title or icon is clicked | *index: number* |
|
||||
|
@ -96,4 +96,4 @@ export default {
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
|------|------|------|
|
||||
| click-step `v2.6.0` | 点击步骤的标题或图标时触发 | *index: number* |
|
||||
| click-step `v2.5.9` | 点击步骤的标题或图标时触发 | *index: number* |
|
||||
|
@ -170,7 +170,7 @@ export default {
|
||||
| vertical | Whether to be vertical Scrolling | *boolean* | `false` |
|
||||
| touchable | Whether to allow swipe by touch gesture | *boolean* | `true` |
|
||||
| stop-propagation `v2.1.0` | Whether to stop touchmove event propagation | *boolean* | `false` |
|
||||
| lazy-render `v2.6.0` | Whether to enable lazy render | *boolean* | `false` |
|
||||
| lazy-render `v2.5.8` | Whether to enable lazy render | *boolean* | `false` |
|
||||
| indicator-color | Indicator color | *string* | `#1989fa` |
|
||||
|
||||
### Swipe Events
|
||||
|
@ -176,7 +176,7 @@ export default {
|
||||
| vertical | 是否为纵向滚动 | *boolean* | `false` |
|
||||
| touchable | 是否可以通过手势滑动 | *boolean* | `true` |
|
||||
| stop-propagation `v2.2.13` | 是否阻止滑动事件冒泡 | *boolean* | `true` |
|
||||
| lazy-render `v2.6.0` | 是否延迟渲染未展示的轮播 | *boolean* | `false` |
|
||||
| lazy-render `v2.5.8` | 是否延迟渲染未展示的轮播 | *boolean* | `false` |
|
||||
| indicator-color | 指示器颜色 | *string* | `#1989fa` |
|
||||
|
||||
### Swipe Events
|
||||
|
Loading…
x
Reference in New Issue
Block a user