perf: optimize some code

This commit is contained in:
Pan
2019-02-11 14:51:09 +08:00
parent dd9fb09a29
commit 0b6e7515ce
3 changed files with 4 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
<template>
<svg :class="svgClass" aria-hidden="true">
<svg :class="svgClass" aria-hidden="true" v-on="$listeners">
<use :xlink:href="iconName"/>
</svg>
</template>