Skip to content

Commit

Permalink
fix: SvgIcon打包报类型错误 (#2012)
Browse files Browse the repository at this point in the history
  • Loading branch information
a417420427 authored Jan 10, 2024
1 parent 60f1f71 commit 05e1df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/SvgIcon/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ const bindAttrs = computed<{ class: string; style: string }>(() => ({
</script>

<template>
<Icon :icon="icon" v-bind="bindAttrs" />
<Icon :icon="icon || ''" v-bind="bindAttrs" />
</template>

0 comments on commit 05e1df5

Please sign in to comment.