Browse Source

Merge pull request #1448 from reverland/fix-1411

Time-Select: emit input event when clear value
baiyaaaaa 8 years ago
parent
commit
b2c308d181
1 changed files with 1 additions and 0 deletions
  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', '');
       }
     },