权限管理
diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html
index a66007c..7dec8c5 100755
--- a/src/main/resources/templates/index.html
+++ b/src/main/resources/templates/index.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html xmlns:th="http://www.thymeleaf.org">
+<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
<title>首页</title>
@@ -73,7 +73,10 @@
<dd th:each="subMenu : ${menu.subMenus}">
<a th:lay-href="${subMenu.menuUrl}">[[${subMenu.menuName}]]</a>
<dl class="layui-nav-child" th:if="${subMenu.subMenus.size()} > 0">
- <dd th:each="temp : ${subMenu.subMenus}"><a th:lay-href="${temp.menuUrl}">[[${temp.menuName}]]</a>
+ <dd th:each="temp : ${subMenu.subMenus}"><a th:lay-href="${temp.menuUrl}">
+ <i th:class="'layui-icon '+${temp.menuIcon}"></i>
+ [[${temp.menuName}]]
+ </a>
</dd>
</dl>
</dd>
@@ -144,7 +147,6 @@
});
</script>
-
<script>
layui.use(['index'], function () {
var index = layui.index;