Commit 79dc9a46 authored by 季圣华's avatar 季圣华
Browse files

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

parent a042e005
...@@ -120,15 +120,25 @@ export default { ...@@ -120,15 +120,25 @@ 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 = []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment