From a98f42d77311da3be72670767a915c45453e68d3 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Thu, 28 Jul 2022 09:19:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ink/wgink/common/service/rbac/impl/RbacServiceImpl.java | 4 ++-- common/src/main/resources/templates/env/update.html | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/ink/wgink/common/service/rbac/impl/RbacServiceImpl.java b/common/src/main/java/ink/wgink/common/service/rbac/impl/RbacServiceImpl.java index ec411afa..fec1094e 100644 --- a/common/src/main/java/ink/wgink/common/service/rbac/impl/RbacServiceImpl.java +++ b/common/src/main/java/ink/wgink/common/service/rbac/impl/RbacServiceImpl.java @@ -14,7 +14,7 @@ import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; -import org.springframework.stereotype.Component; +import org.springframework.stereotype.Service; import org.springframework.util.AntPathMatcher; import javax.servlet.http.HttpServletRequest; @@ -28,7 +28,7 @@ import java.util.List; * @Date: 2019-05-30 15:16 * @Version: 1.0 **/ -@Component("rbacService") +@Service("rbacService") public class RbacServiceImpl implements IRbacService { private static final Logger LOG = LoggerFactory.getLogger(RbacServiceImpl.class); diff --git a/common/src/main/resources/templates/env/update.html b/common/src/main/resources/templates/env/update.html index 56bd6be4..a6f5089c 100644 --- a/common/src/main/resources/templates/env/update.html +++ b/common/src/main/resources/templates/env/update.html @@ -64,7 +64,6 @@ var form = layui.form; var $win = $(window); var windowHeight = $(window).height(); - console.log(windowHeight) $('#cardBody').css({ height: (windowHeight - 170) +'px'