From 89910c5422c12923847771e1f77655a0bb5f4acc Mon Sep 17 00:00:00 2001 From: qinhaoyan Date: Thu, 5 Dec 2024 14:40:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dicon=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E4=BC=A0=E5=85=A5=E9=83=A8=E5=88=86svg=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-ui/src/components/icons.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/amis-ui/src/components/icons.tsx b/packages/amis-ui/src/components/icons.tsx index 73083ad0b59..06cd73d5140 100644 --- a/packages/amis-ui/src/components/icons.tsx +++ b/packages/amis-ui/src/components/icons.tsx @@ -416,6 +416,7 @@ export function Icon({ // 直接传入svg字符串 if (typeof icon === 'string' && icon.startsWith('(.*?)<\/svg>/.exec(icon); const viewBox = /viewBox="(.*?)"/.exec(icon); const svgHTML = createElement('svg', {