Calendar: Display correct header when range is specified (#16354)

* Calendar: display correct header when range is specified

* firstOfWeek is supported

* update docs

* update test

* update

* fix typo
This commit is contained in:
hetech
2019-07-22 13:36:32 +08:00
committed by Zhi Cun
parent e13de1688b
commit adabeff9ed
6 changed files with 50 additions and 19 deletions

View File

@@ -56,7 +56,7 @@ Display date.
| Attribute | Description | Type | Accepted Values | Default |
|-----------------|------------------- |---------- |---------------------- |--------- |
| value / v-model | binding value | Date/string/number | — | — |
| range | time range, including start time and end time. Start time must be Monday, end time must be Sunday, the time span cannot exceed two months | Array | — | — |
| range | time range, including start time and end time. Start time must be start day of week, end time must be end day of week, the time span cannot exceed two months. | Array | — | — |
| first-day-of-week | fisrt day of week| Number | 1 to 7 | 1 |
### dateCell scoped slot 参数