Commit e4f52e92 authored by Dreamacro's avatar Dreamacro Committed by 杨奕

DatePicker: fix emit pick

parent 1cecdbc0
...@@ -457,7 +457,9 @@ ...@@ -457,7 +457,9 @@
}, },
handleConfirm(visible = false) { handleConfirm(visible = false) {
if (this.minDate && this.maxDate) {
this.$emit('pick', [this.minDate, this.maxDate], visible); this.$emit('pick', [this.minDate, this.maxDate], visible);
}
}, },
resetDate() { resetDate() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment