We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc71a45 commit 01bc58bCopy full SHA for 01bc58b
src/components/IconSelect/index.vue
@@ -169,7 +169,7 @@ function loadIcons() {
169
type IconNames = keyof typeof ElementPlusIconsVue;
170
const renderIcon = (iconName: string) => {
171
const iconComponent = ElementPlusIconsVue[iconName as IconNames];
172
- if (iconComponent) {
+ if (iconComponent && iconComponent.name) {
173
return h(resolveComponent(iconComponent.name));
174
}
175
return null;
0 commit comments