MaYuanhai 5 years ago committed by 花裤衩
parent
commit
12b44f5d4b
  1. 2
      src/components/SvgIcon/index.vue

2
src/components/SvgIcon/index.vue

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

Loading…
Cancel
Save