Skip to content

Commit

Permalink
fix: svg support old broswer (PanJiaChen#3085)
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen authored and Trong. Pham Van - CMC Global DU1.19 committed Jul 22, 2022
1 parent 95665da commit 030b5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SvgIcon/index.vue
Original file line number Diff line number Diff line change
@@ -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 :href="iconName" />
<use :xlink:href="iconName" />
</svg>
</template>

Expand Down

0 comments on commit 030b5b1

Please sign in to comment.