perf: optimize some code

This commit is contained in:
Pan
2019-02-11 14:51:09 +08:00
parent e574ca0331
commit abc8ce21f4
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>