fix: 修复IconPicker BUG

This commit is contained in:
kailong321200875 2023-09-24 10:32:34 +08:00
parent 4490d5eeeb
commit 1e3aa78926
1 changed files with 2 additions and 2 deletions

View File

@ -104,8 +104,8 @@ const iconSelect = (icon: string) => {
@show="popoverShow" @show="popoverShow"
> >
<template #reference> <template #reference>
<div v-if="modelValue" :style="iconWrapStyle"> <div :style="iconWrapStyle">
<Icon :icon="modelValue" /> <Icon v-if="modelValue" :icon="modelValue" />
</div> </div>
</template> </template>
<ElScrollbar class="h-[calc(100%-50px)]!"> <ElScrollbar class="h-[calc(100%-50px)]!">