Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yaru
fgqyxxlr
Commits
6bf77f61
Commit
6bf77f61
authored
Aug 08, 2018
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单选择设置默认值
parent
c42f2d9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/main/java/com/ruoyi/project/system/menu/controller/MenuController.java
+2
-1
src/main/resources/templates/system/menu/tree.html
+2
-2
No files found.
src/main/java/com/ruoyi/project/system/menu/controller/MenuController.java
View file @
6bf77f61
...
...
@@ -178,7 +178,7 @@ public class MenuController extends BaseController
@GetMapping
(
"/selectMenuTree/{menuId}"
)
public
String
selectMenuTree
(
@PathVariable
(
"menuId"
)
Long
menuId
,
ModelMap
mmap
)
{
mmap
.
put
(
"
treeName"
,
menuService
.
selectMenuById
(
menuId
).
getMenuName
(
));
mmap
.
put
(
"
menu"
,
menuService
.
selectMenuById
(
menuId
));
return
prefix
+
"/tree"
;
}
}
\ No newline at end of file
src/main/resources/templates/system/menu/tree.html
View file @
6bf77f61
...
...
@@ -8,8 +8,8 @@ body{height:auto;font-family: "Microsoft YaHei";}
button
{
font-family
:
"SimSun"
,
"Helvetica Neue"
,
Helvetica
,
Arial
;}
</style>
<body
class=
"hold-transition box box-main"
>
<input
id=
"treeId"
name=
"treeId"
type=
"hidden"
/>
<input
id=
"treeName"
name=
"treeName"
type=
"hidden"
th:value=
"${
tree
Name}"
/>
<input
id=
"treeId"
name=
"treeId"
type=
"hidden"
th:value=
"${menu.menuId}"
/>
<input
id=
"treeName"
name=
"treeName"
type=
"hidden"
th:value=
"${
menu.menu
Name}"
/>
<div
class=
"wrapper"
><div
class=
"treeShowHideButton"
onclick=
"search();"
>
<label
id=
"btnShow"
title=
"显示搜索"
style=
"display:none;"
>
︾
</label>
<label
id=
"btnHide"
title=
"隐藏搜索"
>
︽
</label>
...
...
Write
Preview
Markdown
is supported
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