From 6544134c38fb818bcfb44a8601c52e783b8542e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=8B?= Date: Mon, 20 Nov 2017 21:05:52 -0600 Subject: [PATCH] Tag: stop close icon click event propagation (#8396) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件) * Button: fix closeEvent bug Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件) --- packages/tag/src/tag.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tag/src/tag.vue b/packages/tag/src/tag.vue index ae4b7235..84cdf498 100644 --- a/packages/tag/src/tag.vue +++ b/packages/tag/src/tag.vue @@ -11,7 +11,7 @@ + @click.stop="handleClose">