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,6 +313,7 @@
313 this.visible = false; 313 this.visible = false;
314 e && e.preventDefault(); 314 e && e.preventDefault();
315 e && e.stopPropagation(); 315 e && e.stopPropagation();
  316 + this.$emit('on-clickoutside', e);
316 return; 317 return;
317 } 318 }
318 319