docs(Calendar): add allow-same-day tips (#7740)

This commit is contained in:
neverland 2020-12-14 17:21:45 +08:00 committed by GitHub
parent dc3fee12c1
commit 27cf2d60ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,8 @@ export default {
};
```
> Tips: 默认情况下,日期区间的起止时间不能为同一天,可以通过设置 allow-same-day 属性来允许选择同一天。
### 快捷选择
`show-confirm` 设置为 `false` 可以隐藏确认按钮,这种情况下选择完成后会立即触发 `confirm` 事件。