fix(components): el-select-v2 empty icon (#4154)

This commit is contained in:
Aex 2021-11-01 17:57:35 +08:00 committed by GitHub
parent 43a75c2ddc
commit cf6a38a4fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,7 @@
v-show="!showClearBtn"
:class="['el-select-v2__caret', 'el-input__icon', iconReverse]"
>
<component :is="iconComponent" />
<component :is="iconComponent" v-if="iconComponent" />
</el-icon>
<el-icon
v-if="showClearBtn"