mirror of https://github.com/ElemeFE/element
DatePicker: fix emit pick
parent
1cecdbc057
commit
e4f52e9221
|
@ -457,7 +457,9 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
handleConfirm(visible = false) {
|
handleConfirm(visible = false) {
|
||||||
this.$emit('pick', [this.minDate, this.maxDate], visible);
|
if (this.minDate && this.maxDate) {
|
||||||
|
this.$emit('pick', [this.minDate, this.maxDate], visible);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
resetDate() {
|
resetDate() {
|
||||||
|
|
Loading…
Reference in New Issue