From e0d013ae028129758915e3f2ecdb643576cd96fb Mon Sep 17 00:00:00 2001 From: greydesolate Date: Fri, 19 May 2017 18:13:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3iframe=E4=B8=8B=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E8=B6=85=E6=97=B6=E6=97=A0=E6=B3=95=E8=B7=B3=E5=87=BA?= =?UTF-8?q?iframe=E6=A1=86=E6=9E=B6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/webapp/WEB-INF/jsp/sso/login.jsp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/sso/login.jsp b/zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/sso/login.jsp index 8a960e75..2135e0d6 100644 --- a/zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/sso/login.jsp +++ b/zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/sso/login.jsp @@ -54,6 +54,10 @@ alert('您已被强制下线!'); top.location.href = '${basePath}/sso/login'; +//解决iframe下系统超时无法跳出iframe框架的问题 +if (window != top){ + top.location.href = location.href; +} - \ No newline at end of file +