소스 검색

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

Yuyang Liu 8 년 전
부모
커밋
f7d2b0916c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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', '');
       }
     },