mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[new feature] Area: add confirm-button-text prop (#2556)
This commit is contained in:
parent
5d17b5e643
commit
3b57367249
@ -48,6 +48,8 @@ Set `columns-num` with 2, you'll have a 2 level picker.
|
|||||||
| item-height | Option height | `Number` | `44` |
|
| item-height | Option height | `Number` | `44` |
|
||||||
| loading | Whether to show loading prompt | `Boolean` | `false` |
|
| loading | Whether to show loading prompt | `Boolean` | `false` |
|
||||||
| visible-item-count | Count of visible columns | `Number` | `5` |
|
| visible-item-count | Count of visible columns | `Number` | `5` |
|
||||||
|
| confirm-button-text | Text of confirm button | `String` | `Confirm` |
|
||||||
|
| cancel-button-text | Text of cancel button | `String` | `Cancel` |
|
||||||
|
|
||||||
### Event
|
### Event
|
||||||
|
|
||||||
|
@ -195,6 +195,8 @@ export default sfc({
|
|||||||
columns={this.displayColumns}
|
columns={this.displayColumns}
|
||||||
itemHeight={this.itemHeight}
|
itemHeight={this.itemHeight}
|
||||||
visibleItemCount={this.visibleItemCount}
|
visibleItemCount={this.visibleItemCount}
|
||||||
|
cancelButtonText={this.cancelButtonText}
|
||||||
|
confirmButtonText={this.confirmButtonText}
|
||||||
{...{ on }}
|
{...{ on }}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
@ -46,6 +46,8 @@ Vue.use(Area);
|
|||||||
| loading | 是否显示加载状态 | `Boolean` | `false` | - |
|
| loading | 是否显示加载状态 | `Boolean` | `false` | - |
|
||||||
| item-height | 选项高度 | `Number` | `44` | - |
|
| item-height | 选项高度 | `Number` | `44` | - |
|
||||||
| visible-item-count | 可见的选项个数 | `Number` | `5` | - |
|
| visible-item-count | 可见的选项个数 | `Number` | `5` | - |
|
||||||
|
| confirm-button-text | 确认按钮文字 | `String` | `确认` | 1.5.3 |
|
||||||
|
| cancel-button-text | 取消按钮文字 | `String` | `取消` | 1.5.3 |
|
||||||
|
|
||||||
### Event
|
### Event
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user