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

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 }) item.meta = Object.assign(item.meta, { hidden: true })
}) })
} }
if(menu.component==='/layouts/IframePageView') { return (
return ( <Item {...{ key: menu.url }}>
<Item {...{ key: menu.url }}> <tag {...{ props, attrs }}>
<tag {...{ props, attrs }}> {this.renderIcon(menu.icon)}
{this.renderIcon(menu.icon)} <span>{menu.text}</span>
<span><b>{menu.text}</b></span> </tag>
</tag> </Item>
</Item> )
)
} else {
return (
<Item {...{ key: menu.url }}>
<tag {...{ props, attrs }}>
{this.renderIcon(menu.icon)}
<span>{menu.text}</span>
</tag>
</Item>
)
}
}, },
renderSubMenu (menu) { renderSubMenu (menu) {
const itemArr = [] const itemArr = []