2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-06 05:52:27 +03:00

docs: update default-panel

This commit is contained in:
mengxiong10
2020-06-07 10:56:07 +08:00
parent 7835ffbac4
commit 9f34779246
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -133,6 +133,7 @@ You can also override some of the default locale by `lang`.
| input-class | input classname | `string` | 'mx-input' |
| input-attr | input attrs(eg: { name: 'date', id: 'foo'}) | `object` | — |
| open | open state of picker | `boolean` | - |
| default-panel | default panel of the picker | year\|month | - |
| popup-style | popup style | `object` | — |
| popup-class | popup classes | | — |
| shortcuts | set shortcuts to select | `Array<{text, onClick}>` | - |
+1
View File
@@ -131,6 +131,7 @@ import 'vue2-datepicker/locale/zh-cn';
| input-class | 输入框的类 | `string` | 'mx-input' |
| input-attr | 输入框的其他属性(eg: { name: 'date', id: 'foo'}) | `object` | — |
| open | 控制弹出层的显示 | `boolean` | - |
| default-panel | 控制打开的面板 | year\|month | - |
| popup-style | 弹出层的样式 | `object` | — |
| popup-class | 弹出层的类 | | — |
| shortcuts | 设置快捷选择 | `Array<{text, onClick}>` | - |