Antiloveg 8 years ago
parent
commit
a9fef2d1dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/WEB-INF/views/common.html

+ 1 - 1
src/main/webapp/WEB-INF/views/common.html

@@ -244,7 +244,7 @@
 			window.showRoleList = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/roleList')}]]*/false;
 			window.showAuditStatus = /*[[${shiro.hasRole('999999') || shiro.isPermitted('api/admin/auditStatus')}]]*/false;
 
-			window.showSystem = /*[[${shiro.hasRole('999999')}]]*/false;
+			window.showSystem = /*[[${shiro.hasRole('999999') || shiro.isPermitted('admin/system')}]]*/false;
 	/*]]>*/
 		</script>
 		<script th:inline="javascript" th:if="${userData!=null}">