From af672a4f58639493533c9ee149eaae63db34982c Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Mon, 8 Apr 2019 10:39:31 +0800 Subject: [PATCH] DatePicker add @on-clickoutside event, close #5536 --- src/components/date-picker/picker.vue | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/components/date-picker/picker.vue b/src/components/date-picker/picker.vue index 0a82fed..5158397 100644 --- a/src/components/date-picker/picker.vue +++ b/src/components/date-picker/picker.vue @@ -313,6 +313,7 @@ this.visible = false; e && e.preventDefault(); e && e.stopPropagation(); + this.$emit('on-clickoutside', e); return; } -- libgit2 0.21.4