Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
79dc9a46
Commit
79dc9a46
authored
Sep 16, 2021
by
季圣华
Browse files
给插件的菜单名称改为加粗
parent
a042e005
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/components/menu/index.js
View file @
79dc9a46
...
...
@@ -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
=
[]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment