把插件的菜单加粗改为不加粗

This commit is contained in:
季圣华
2023-12-02 22:33:01 +08:00
parent 6db4377bd9
commit 3649b9a5d1

View File

@@ -120,25 +120,14 @@ export default {
item.meta = Object.assign(item.meta, { hidden: true })
})
}
if(menu.component==='/layouts/IframePageView') {
return (
<Item {...{ key: menu.url }}>
<tag {...{ props, attrs }}>
{this.renderIcon(menu.icon)}
<span><b>{menu.text}</b></span>
</tag>
</Item>
)
} else {
return (
<Item {...{ key: menu.url }}>
<tag {...{ props, attrs }}>
{this.renderIcon(menu.icon)}
<span>{menu.text}</span>
</tag>
</Item>
)
}
return (
<Item {...{ key: menu.url }}>
<tag {...{ props, attrs }}>
{this.renderIcon(menu.icon)}
<span>{menu.text}</span>
</tag>
</Item>
)
},
renderSubMenu (menu) {
const itemArr = []