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
3ede0313
Commit
3ede0313
authored
Jun 04, 2020
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页菜单显示调整
parent
e7248da6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
ruoyi-admin/src/main/resources/templates/index.html
+1
-4
sql/ry_20200604.sql
+5
-3
No files found.
ruoyi-admin/src/main/resources/templates/index.html
View file @
3ede0313
...
...
@@ -47,10 +47,7 @@
</div>
</li>
<li>
<a
href=
"#"
><i
class=
"fa fa-home"
></i>
<span
class=
"nav-label"
>
主页
</span>
<span
class=
"fa arrow"
></span></a>
<ul
class=
"nav nav-second-level"
>
<li><a
class=
"menuItem"
th:href=
"@{/system/main}"
>
了解若依
</a></li>
</ul>
<a
class=
"menuItem"
th:href=
"@{/system/main}"
><i
class=
"fa fa-home"
></i>
<span
class=
"nav-label"
>
首页
</span>
</a>
</li>
<li
th:each=
"menu : ${menus}"
>
<a
th:class=
"@{${menu.url != '' && menu.url != '#'} ? ${menu.target}}"
th:href=
"@{${menu.url == ''} ? |#| : ${menu.url}}"
>
...
...
sql/ry_20200
323
.sql
→
sql/ry_20200
604
.sql
View file @
3ede0313
...
...
@@ -152,9 +152,10 @@ create table sys_menu (
-- 初始化-菜单信息表数据
-- ----------------------------
-- 一级菜单
insert
into
sys_menu
values
(
'1'
,
'系统管理'
,
'0'
,
'1'
,
'#'
,
''
,
'M'
,
'0'
,
''
,
'fa fa-gear'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'系统管理目录'
);
insert
into
sys_menu
values
(
'2'
,
'系统监控'
,
'0'
,
'2'
,
'#'
,
''
,
'M'
,
'0'
,
''
,
'fa fa-video-camera'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'系统监控目录'
);
insert
into
sys_menu
values
(
'3'
,
'系统工具'
,
'0'
,
'3'
,
'#'
,
''
,
'M'
,
'0'
,
''
,
'fa fa-bars'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'系统工具目录'
);
insert
into
sys_menu
values
(
'1'
,
'系统管理'
,
'0'
,
'1'
,
'#'
,
''
,
'M'
,
'0'
,
''
,
'fa fa-gear'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'系统管理目录'
);
insert
into
sys_menu
values
(
'2'
,
'系统监控'
,
'0'
,
'2'
,
'#'
,
''
,
'M'
,
'0'
,
''
,
'fa fa-video-camera'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'系统监控目录'
);
insert
into
sys_menu
values
(
'3'
,
'系统工具'
,
'0'
,
'3'
,
'#'
,
''
,
'M'
,
'0'
,
''
,
'fa fa-bars'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'系统工具目录'
);
insert
into
sys_menu
values
(
'4'
,
'若依官网'
,
'0'
,
'4'
,
'http://ruoyi.vip'
,
'menuBlank'
,
'C'
,
'0'
,
''
,
'fa fa-location-arrow'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'若依官网地址'
);
-- 二级菜单
insert
into
sys_menu
values
(
'100'
,
'用户管理'
,
'1'
,
'1'
,
'/system/user'
,
''
,
'C'
,
'0'
,
'system:user:view'
,
'#'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'用户管理菜单'
);
insert
into
sys_menu
values
(
'101'
,
'角色管理'
,
'1'
,
'2'
,
'/system/role'
,
''
,
'C'
,
'0'
,
'system:role:view'
,
'#'
,
'admin'
,
'2018-03-16 11-33-00'
,
'ry'
,
'2018-03-16 11-33-00'
,
'角色管理菜单'
);
...
...
@@ -285,6 +286,7 @@ create table sys_role_menu (
insert
into
sys_role_menu
values
(
'2'
,
'1'
);
insert
into
sys_role_menu
values
(
'2'
,
'2'
);
insert
into
sys_role_menu
values
(
'2'
,
'3'
);
insert
into
sys_role_menu
values
(
'2'
,
'4'
);
insert
into
sys_role_menu
values
(
'2'
,
'100'
);
insert
into
sys_role_menu
values
(
'2'
,
'101'
);
insert
into
sys_role_menu
values
(
'2'
,
'102'
);
...
...
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