perf[SvgIcon]: change xlink:href to href

This commit is contained in:
花裤衩 2019-10-22 20:29:58 +08:00
parent f32b49e662
commit 5afac23d2f
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template>
<div v-if="isExternal" :style="styleExternalIcon" class="svg-external-icon svg-icon" v-on="$listeners" />
<svg v-else :class="svgClass" aria-hidden="true" v-on="$listeners">
<use :xlink:href="iconName" />
<use :href="iconName" />
</svg>
</template>