Update Icon.vue

The component doesn't emit click events to the parent. This update will fix that.
This commit is contained in:
Miguel Rodriquez Cabrera 2018-05-15 15:10:29 -07:00 committed by GitHub
parent b924d14da3
commit 049dcf5913
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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';