Pārlūkot izejas kodu

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

Yuyang Liu 8 gadi atpakaļ
vecāks
revīzija
f7d2b0916c
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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', '');
       }
     },