mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(DatetimePicker): fix show-toolbar default value
This commit is contained in:
parent
368a0123d8
commit
e21c047306
@ -159,6 +159,7 @@ export default {
|
||||
| filter | Option filter | *(type, values) => values* | - | - |
|
||||
| formatter | Option text formatter | *(type, value) => value* | - | - |
|
||||
| title | Toolbar title | *string* | `''` | - |
|
||||
| show-toolbar | Whether to show toolbar | *boolean* | `true` | - |
|
||||
| loading | Whether to show loading prompt | *boolean* | `false` | - |
|
||||
| item-height | Option height | *number* | `44` | - |
|
||||
| confirm-button-text | Text of confirm button | *string* | `Confirm` | - |
|
||||
|
@ -163,7 +163,7 @@ export default {
|
||||
| filter | 选项过滤函数 | *(type, values) => values* | - | - |
|
||||
| formatter | 选项格式化函数 | *(type, value) => value* | - | - |
|
||||
| title | 顶部栏标题 | *string* | `''` | - |
|
||||
| show-toolbar | 是否显示顶部栏 | *boolean* | `false` | - |
|
||||
| show-toolbar | 是否显示顶部栏 | *boolean* | `true` | - |
|
||||
| loading | 是否显示加载状态 | *boolean* | `false` | - |
|
||||
| item-height | 选项高度 | *number* | `44` | - |
|
||||
| confirm-button-text | 确认按钮文字 | *string* | `确认` | - |
|
||||
|
Loading…
x
Reference in New Issue
Block a user