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"
>
<template #reference>
<div v-if="modelValue" :style="iconWrapStyle">
<Icon :icon="modelValue" />
<div :style="iconWrapStyle">
<Icon v-if="modelValue" :icon="modelValue" />
</div>
</template>
<ElScrollbar class="h-[calc(100%-50px)]!">