Skip to content

Commit 4f8b283

Browse files
committed
fix: 移除aria-hidden="true"元素属性,控制台报错提示
1 parent bc33acf commit 4f8b283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Icon/src/Icon.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ watch(
7575

7676
<template>
7777
<ElIcon :class="prefixCls" :color="color" :size="size">
78-
<svg v-if="isLocal" :class="getSvgClass" aria-hidden="true">
78+
<svg v-if="isLocal" :class="getSvgClass">
7979
<use :xlink:href="symbolId" />
8080
</svg>
8181

0 commit comments

Comments
 (0)