From 9de51a01747ce4e2e15c3c137acf3c73823ea975 Mon Sep 17 00:00:00 2001 From: chizukicn Date: Tue, 28 Nov 2023 17:09:46 +0800 Subject: [PATCH] fix(icon): data url quote --- packages/core/src/icon/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/icon/index.ts b/packages/core/src/icon/index.ts index 980bac5..2cf60d7 100644 --- a/packages/core/src/icon/index.ts +++ b/packages/core/src/icon/index.ts @@ -69,7 +69,7 @@ export const useIcon = defineHookComponent({ const staticStyle = computed(() => { return { - "--icon-url": `url('${props.src}')` + "--icon-url": `url("${(props.src)}")` }; });