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

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

parent a042e005
......@@ -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 = []
......
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