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
RuoYi Vue
Commits
c26d87c6
Commit
c26d87c6
authored
Jul 25, 2021
by
RuoYi
Browse files
内链设置meta信息
parent
97ae0eb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java
View file @
c26d87c6
...
...
@@ -173,7 +173,7 @@ public class SysMenuServiceImpl implements ISysMenuService
}
else
if
(
menu
.
getParentId
().
intValue
()
==
0
&&
isInnerLink
(
menu
))
{
router
.
setMeta
(
n
ull
);
router
.
setMeta
(
n
ew
MetaVo
(
menu
.
getMenuName
(),
menu
.
getIcon
())
);
router
.
setPath
(
"/inner"
);
List
<
RouterVo
>
childrenList
=
new
ArrayList
<
RouterVo
>();
RouterVo
children
=
new
RouterVo
();
...
...
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