fix: SvgIcon打包报类型错误 (#2012)

This commit is contained in:
zf 2024-01-10 19:38:20 +08:00 committed by GitHub
parent 60f1f71d27
commit 05e1df5332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>