Skip to content

Commit 9f34779

Browse files
committed
docs: update default-panel
1 parent 7835ffb commit 9f34779

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ You can also override some of the default locale by `lang`.
133133
| input-class | input classname | `string` | 'mx-input' |
134134
| input-attr | input attrs(eg: { name: 'date', id: 'foo'}) | `object` ||
135135
| open | open state of picker | `boolean` | - |
136+
| default-panel | default panel of the picker | year\|month | - |
136137
| popup-style | popup style | `object` ||
137138
| popup-class | popup classes | ||
138139
| shortcuts | set shortcuts to select | `Array<{text, onClick}>` | - |

README.zh-CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ import 'vue2-datepicker/locale/zh-cn';
131131
| input-class | 输入框的类 | `string` | 'mx-input' |
132132
| input-attr | 输入框的其他属性(eg: { name: 'date', id: 'foo'}) | `object` ||
133133
| open | 控制弹出层的显示 | `boolean` | - |
134+
| default-panel | 控制打开的面板 | year\|month | - |
134135
| popup-style | 弹出层的样式 | `object` ||
135136
| popup-class | 弹出层的类 | ||
136137
| shortcuts | 设置快捷选择 | `Array<{text, onClick}>` | - |

0 commit comments

Comments
 (0)