2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-20 09:30:35 +03:00

feat: add prop partial-update

Determine whether update date when select year of month.
The default value is false.
This commit is contained in:
mengxiong10
2019-11-14 15:58:19 +08:00
parent fe323df718
commit 07f42717c9
11 changed files with 143 additions and 92 deletions
+1
View File
@@ -11,6 +11,7 @@ describe('DatetimePanel', () => {
it('feat: click date', () => {
wrapper = mount(DatetimePanel, {
propsData: {
type: 'datetime',
defaultValue: new Date(2019, 9, 1, 12),
},
});