mirror of https://github.com/ElemeFE/element
Tag: stop close icon click event propagation (#8396)
* Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件) * Button: fix closeEvent bug Tag关闭按钮@click修改为@click.stop防止事件冒泡(Tag添加自定义事件时,点击关闭会触发两次事件)pull/8405/head
parent
8f623b4cc4
commit
6544134c38
|
@ -11,7 +11,7 @@
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
<i class="el-tag__close el-icon-close"
|
<i class="el-tag__close el-icon-close"
|
||||||
v-if="closable"
|
v-if="closable"
|
||||||
@click="handleClose"></i>
|
@click.stop="handleClose"></i>
|
||||||
</span>
|
</span>
|
||||||
</transition>
|
</transition>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue