2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-19 02:30:35 +03:00

fix: clear event not triggering (#369)

This commit is contained in:
mengxiong10
2019-11-11 10:42:50 +08:00
parent deaf8ea28a
commit 06e158e20e
2 changed files with 19 additions and 1 deletions
+1
View File
@@ -364,6 +364,7 @@ export default {
},
handleClear() {
this.emitValue(null);
this.$emit('clear');
},
handleConfirmDate() {
const value = this.emitValue(this.currentValue);