mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-05 03:04:59 +08:00
fix: svg support old broswer (#3085)
This commit is contained in:
parent
f7a9d21109
commit
6eccffeb2f
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user