From aedbb33fd81991b09e0f4ff44719e606832bc002 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Sun, 15 Dec 2019 18:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E7=B3=BB=E7=BB=9F=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=B0=8F=E4=BA=8E1=E4=B8=AA=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=E4=B8=8D=E5=B1=95=E7=A4=BA=EF=BC=8C=E6=89=80=E6=9C=89?= =?UTF-8?q?=E4=BA=BA=E9=83=BD=E5=8F=AF=E4=BB=A5=E5=88=87=E6=8D=A2=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/static/adminlte/css/skins/skin-black2.css | 2 -- modules/core/src/main/resources/config/logger-core.xml | 5 +++++ .../themes/default/modules/sys/sysIndex/topMenuUser.html | 7 ++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/common/src/main/resources/static/adminlte/css/skins/skin-black2.css b/common/src/main/resources/static/adminlte/css/skins/skin-black2.css index e6519ca1..c3b167d5 100644 --- a/common/src/main/resources/static/adminlte/css/skins/skin-black2.css +++ b/common/src/main/resources/static/adminlte/css/skins/skin-black2.css @@ -139,5 +139,3 @@ } .sidebar-menu .treeview-item.active > a {color:#fff;background-color:#3c8dbc;} - - diff --git a/modules/core/src/main/resources/config/logger-core.xml b/modules/core/src/main/resources/config/logger-core.xml index f7d2feea..036d9674 100644 --- a/modules/core/src/main/resources/config/logger-core.xml +++ b/modules/core/src/main/resources/config/logger-core.xml @@ -21,6 +21,11 @@ + + + + + diff --git a/modules/core/src/main/resources/views/themes/default/modules/sys/sysIndex/topMenuUser.html b/modules/core/src/main/resources/views/themes/default/modules/sys/sysIndex/topMenuUser.html index aeaa3c20..c7f54142 100644 --- a/modules/core/src/main/resources/views/themes/default/modules/sys/sysIndex/topMenuUser.html +++ b/modules/core/src/main/resources/views/themes/default/modules/sys/sysIndex/topMenuUser.html @@ -17,11 +17,12 @@ ${text('退出登录')} - <% if(user.superAdmin){ %> + <% var sysDictList = @DictUtils.getDictList('sys_menu_sys_code'); + if(sysDictList.~size > 1){ + var menuSysCode = @ObjectUtils.toStringIgnoreNull(session.sysCode, 'default'); %>
  • - <% var menuSysCode = @ObjectUtils.toStringIgnoreNull(session.sysCode, 'default'); %> - <% for(var dict in @DictUtils.getDictList('sys_menu_sys_code')){ %> + <% for(var dict in sysDictList){ %>