Commit 6544134c authored by 刘洋's avatar 刘洋 Committed by 杨奕

Tag: stop close icon click event propagation (#8396)

* Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件)

* Button: fix closeEvent bug
Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件)
parent 8f623b4c
......@@ -11,7 +11,7 @@
<slot></slot>
<i class="el-tag__close el-icon-close"
v-if="closable"
@click="handleClose"></i>
@click.stop="handleClose"></i>
</span>
</transition>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment