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)}")` }; });