mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
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:
@@ -45,7 +45,7 @@
|
||||
|
||||
### 自定义范围
|
||||
|
||||
:::demo 设置 `range` 属性指定日历的显示范围。开始时间必须是周一,结束时间必须是周日,且时间跨度不能超过两个月。
|
||||
:::demo 设置 `range` 属性指定日历的显示范围。开始时间必须是周起始日,结束时间必须是周结束日,且时间跨度不能超过两个月。
|
||||
```html
|
||||
<el-calendar :range="['2019-03-04', '2019-03-24']">
|
||||
</el-calendar>
|
||||
|
||||
Reference in New Issue
Block a user