Przeglądaj źródła

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

Yuyang Liu 8 lat temu
rodzic
commit
f7d2b0916c
1 zmienionych plików z 1 dodań i 0 usunięć
  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', '');
       }
     },