From 554c9b8690b1b932f33bc95fc73100036aadff1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Fri, 29 Apr 2022 19:59:38 +0800 Subject: [PATCH] =?UTF-8?q?svgicon=E7=BB=84=E4=BB=B6=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E8=87=AA=E5=AE=9A=E4=B9=89class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SvgIcon/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SvgIcon/index.vue b/src/components/SvgIcon/index.vue index b02a5a3..ae6bef3 100644 --- a/src/components/SvgIcon/index.vue +++ b/src/components/SvgIcon/index.vue @@ -37,7 +37,7 @@ export default defineComponent({ name: props.name, 'aria-hidden': true, style: `color: ${props.color}`, - class: 'svg-icon', + class: `svg-icon ${props.className}`, }, h('use', { 'xlink:href': `#icon-${props.name}`,