feat(DatetimePicker): some props can be string type

This commit is contained in:
陈嘉涵
2020-01-29 10:52:34 +08:00
parent ecdaf3f837
commit 6d0714de3e
5 changed files with 87 additions and 59 deletions
+7 -7
View File
@@ -60,16 +60,16 @@ Set `columns-num` with 2, you'll have a 2 level picker.
|------|------|------|------|
| value | the `code` of selected area | *string* | - |
| title | Toolbar title | *string* | - |
| area-list | Area data | *object* | - |
| columns-num | level of picker | *number \| string* | `3` |
| columns-placeholder `v2.2.5` | placeholder of columns | *string[]* | `[]` |
| item-height | Option height | *number* | `44` |
| loading | Whether to show loading prompt | *boolean* | `false` |
| 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` |
| area-list | Area list data | *object* | - |
| columns-placeholder `v2.2.5` | Placeholder of columns | *string[]* | `[]` |
| loading | Whether to show loading prompt | *boolean* | `false` |
| item-height | Option height | *number \| string* | `44` |
| columns-num | Level of picker | *number \| string* | `3` |
| visible-item-count | Count of visible columns | *number \| string* | `5` |
| swipe-duration `v2.2.13` | Duration of the momentum animationunit `ms` | *number \| string* | `1000` |
| is-oversea-code `v2.1.4` | The method to validate oversea code | *() => boolean* | - |
| swipe-duration `v2.2.13` | Duration of the momentum animationunit `ms` | *number* | `1000` |
### Events