Update Icon.vue
The component doesn't emit click events to the parent. This update will fix that.
This commit is contained in:
parent
b924d14da3
commit
049dcf5913
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<i :class="classes" :style="styles"></i>
|
||||
<i :class="classes" :style="styles" @click="$emit('click')"></i>
|
||||
</template>
|
||||
<script>
|
||||
const prefixCls = 'ivu-icon';
|
||||
|
|
Loading…
Add table
Reference in a new issue