Explorar el Código

Time-Select: emit input event when clear value fix #1411

Yuyang Liu hace 8 años
padre
commit
f7d2b0916c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/date-picker/src/picker.vue

+ 1 - 0
packages/date-picker/src/picker.vue

@@ -333,6 +333,7 @@ export default {
         this.pickerVisible = !this.pickerVisible;
       } else {
         this.internalValue = '';
+        this.$emit('input', '');
       }
     },