update DateTimePicker

update DateTimePicker
This commit is contained in:
梁灏 2016-12-30 10:57:10 +08:00
parent d596b9e4f8
commit 5cc9b892b8
8 changed files with 98 additions and 21 deletions

View file

@ -126,7 +126,7 @@
import YearTable from '../base/year-table.vue';
import MonthTable from '../base/month-table.vue';
import Confirm from '../base/confirm.vue';
import { toDate, prevMonth, nextMonth } from '../util';
import { toDate, prevMonth, nextMonth, initTimeDate } from '../util';
import Mixin from './mixin';
@ -141,7 +141,7 @@
prefixCls: prefixCls,
datePrefixCls: datePrefixCls,
shortcuts: [],
date: new Date(),
date: initTimeDate(),
value: '',
minDate: '',
maxDate: '',