update DateTimePicker

update DateTimePicker
This commit is contained in:
梁灏 2016-12-30 13:56:34 +08:00
parent acde7262ef
commit 3693144258
4 changed files with 39 additions and 26 deletions

View file

@ -398,13 +398,10 @@
this.handleClear();
});
this.picker.$on('on-pick-success', () => {
// this.emitChange(this.value);
this.visible = false;
this.$emit('on-ok');
});
this.picker.$on('on-pick-click', () => this.disableClickOutSide = true);
// todo $on('on-time-range')
}
if (this.internalValue instanceof Date) {
this.picker.date = new Date(this.internalValue.getTime());