mirror of https://github.com/ElemeFE/element
DatePicker: set milliseconds to 0 (#5663)
parent
6a3ee2fdc7
commit
2106eea52c
|
@ -325,6 +325,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
confirm() {
|
confirm() {
|
||||||
|
this.date.setMilliseconds(0);
|
||||||
this.$emit('pick', this.date);
|
this.$emit('pick', this.date);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue