Эх сурвалжийг харах

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

Yuyang Liu 8 жил өмнө
parent
commit
f7d2b0916c

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

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