diff --git a/README.md b/README.md index f278dbc..9c15d19 100644 --- a/README.md +++ b/README.md @@ -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}>` | - | diff --git a/README.zh-CN.md b/README.zh-CN.md index a497575..feef4f0 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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}>` | - |