feat(Calendar): add max-range、range-prompt prop (#5583)

This commit is contained in:
KongYe
2020-01-15 16:34:13 +08:00
committed by neverland
parent cfd40f2eaf
commit 670b346963
11 changed files with 45 additions and 8 deletions
+2
View File
@@ -221,6 +221,8 @@ Set `poppable` to `false`, the calendar will be displayed directly on the page i
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `true` |
| confirm-text | Confirm button text | *string* | `Confirm` |
| confirm-disabled-text | Confirm button text when disabled | *string* | `Confirm` |
| max-range | max range of day | *number* | `null` |
| range-prompt | err message when the select range over max range | *string* | `选择天数不能超过 xx 天` |
### Data Structure of Day