mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat(Area): add show-toolbar prop default true (#4752)
* feat(Area): add show-toolbar prop default true * fix(Area): fix default value
This commit is contained in:
parent
befa6f08bd
commit
1e7cbe30fb
@ -138,6 +138,7 @@ db.collection('region')
|
|||||||
| visible-item-count | 可见的选项个数 | _number_ | `6` |
|
| visible-item-count | 可见的选项个数 | _number_ | `6` |
|
||||||
| confirm-button-text | 确认按钮文字 | _string_ | `确认` |
|
| confirm-button-text | 确认按钮文字 | _string_ | `确认` |
|
||||||
| cancel-button-text | 取消按钮文字 | _string_ | `取消` |
|
| cancel-button-text | 取消按钮文字 | _string_ | `取消` |
|
||||||
|
| show-toolbar `1.10.3` | 是否显示顶部栏 | _boolean_ | `true` |
|
||||||
|
|
||||||
### Events
|
### Events
|
||||||
|
|
||||||
|
@ -14,6 +14,10 @@ VantComponent({
|
|||||||
|
|
||||||
props: {
|
props: {
|
||||||
...pickerProps,
|
...pickerProps,
|
||||||
|
showToolbar: {
|
||||||
|
type: Boolean,
|
||||||
|
value: true,
|
||||||
|
},
|
||||||
value: {
|
value: {
|
||||||
type: String,
|
type: String,
|
||||||
observer(value: string) {
|
observer(value: string) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
active-class="active-class"
|
active-class="active-class"
|
||||||
toolbar-class="toolbar-class"
|
toolbar-class="toolbar-class"
|
||||||
column-class="column-class"
|
column-class="column-class"
|
||||||
show-toolbar
|
show-toolbar="{{ showToolbar }}"
|
||||||
value-key="name"
|
value-key="name"
|
||||||
title="{{ title }}"
|
title="{{ title }}"
|
||||||
loading="{{ loading }}"
|
loading="{{ loading }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user