2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-10 15:42:27 +03:00

fix: should return [null, null] when clear range

This commit is contained in:
mengxiong10
2019-11-12 13:03:22 +08:00
parent e4a5cedaa6
commit 635631fd12
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -363,7 +363,7 @@ export default {
}
},
handleClear() {
this.emitValue(null);
this.emitValue(this.range ? [null, null] : null);
this.$emit('clear');
},
handleConfirmDate() {