fix: SvgIcon打包报类型错误 (#2012)
This commit is contained in:
parent
60f1f71d27
commit
05e1df5332
|
@ -17,5 +17,5 @@ const bindAttrs = computed<{ class: string; style: string }>(() => ({
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Icon :icon="icon" v-bind="bindAttrs" />
|
<Icon :icon="icon || ''" v-bind="bindAttrs" />
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue