mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 03:07:36 +08:00
Tag: stop close icon click event propagation (#8396)
* Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件) * Button: fix closeEvent bug Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件)
This commit is contained in:
parent
8f623b4cc4
commit
6544134c38
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user