We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6599aa7 commit 71132acCopy full SHA for 71132ac
packages/tag/src/tag.vue
@@ -12,6 +12,7 @@
12
},
13
methods: {
14
handleClose(event) {
15
+ event.stopPropagation();
16
this.$emit('close', event);
17
}
18
@@ -28,7 +29,7 @@
28
29
const tagEl = (<span class={classes} style={{backgroundColor: this.color}}>
30
{ this.$slots.default }
31
{
- this.closable && <i class="el-tag__close el-icon-close" click="handleClose"></i>
32
+ this.closable && <i class="el-tag__close el-icon-close" on-click={this.handleClose}></i>
33
34
</span>);
35
0 commit comments