chore(Calendar): code review

This commit is contained in:
陈嘉涵
2019-12-26 19:59:08 +08:00
committed by neverland
parent 0db1a03996
commit c9964d5759
4 changed files with 44 additions and 45 deletions
+3 -3
View File
@@ -32,14 +32,14 @@ Vue.use(Calendar);
| title | 日历标题 | `string` | - | - |
| min-date | 最小日期 | `Date` | 当前日期 | - |
| max-date | 最大日期 | `Date` | 当前日期的六个月后 | - |
| confirm-text | 选择日期区间时,确认按钮的文字 | `string` | `确定` | - |
| confirm-disabled-text | 选择日期区间时,确认按钮处于禁用状态时的文字 | `string` | `确定` | - |
| button-text | 选择日期区间时,确认按钮的文字 | `string` | `确定` | - |
| button-disabled-text | 选择日期区间时,确认按钮处于禁用状态时的文字 | `string` | `确定` | - |
### Events
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| select | 选择日期时触发 | value: Date |
| select | 选择日期时触发 | value: Date | Date[] |
### Slots