Skip to content

Commit

Permalink
fix: 修复IconPicker BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong321200875 committed Sep 24, 2023
1 parent 4490d5e commit 1e3aa78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/IconPicker/src/IconPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)]!">
Expand Down

0 comments on commit 1e3aa78

Please sign in to comment.