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.
2 parents cc71a45 + 01bc58b commit e9b13abCopy full SHA for e9b13ab
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