Commit af672a4f58639493533c9ee149eaae63db34982c

Authored by 梁灏
1 parent 01d898dc

DatePicker add @on-clickoutside event, close #5536

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/components/date-picker/picker.vue
... ... @@ -313,6 +313,7 @@
313 313 this.visible = false;
314 314 e && e.preventDefault();
315 315 e && e.stopPropagation();
  316 + this.$emit('on-clickoutside', e);
316 317 return;
317 318 }
318 319  
... ...