fix: UI样式优化

This commit is contained in:
dataeaseShu
2025-05-12 17:11:04 +08:00
committed by xuwei-fit2cloud
parent f11cddb810
commit cae6a120f6

View File

@@ -78,7 +78,9 @@ const MenuItem = props => {
{ index: path },
{
title: h('span', null, { default: () => title }),
default: h(ElIcon, null, { default: () => h(iconMap[icon], { className: 'svg-icon logo' }) })
default: h(iconMap[icon] ? ElIcon : null, null, {
default: () => h(iconMap[icon], { className: 'svg-icon logo' })
})
}
)
}