给插件的菜单名称改为加粗

This commit is contained in:
季圣华
2021-09-16 22:05:34 +08:00
parent a042e00543
commit 79dc9a469a

View File

@@ -120,15 +120,25 @@ export default {
item.meta = Object.assign(item.meta, { hidden: true })
})
}
return (
<Item {...{ key: menu.url }}>
<tag {...{ props, attrs }}>
{this.renderIcon(menu.icon)}
<span>{menu.text}</span>
</tag>
</Item>
)
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>
)
}
},
renderSubMenu (menu) {
const itemArr = []