Merge pull request #34 from zdyy/master

解决iframe下系统超时无法跳出iframe框架的问题
This commit is contained in:
shuzheng 2017-05-22 16:55:13 +08:00 committed by GitHub
commit 1bb30908e8
1 changed files with 5 additions and 1 deletions

View File

@ -54,6 +54,10 @@
alert('您已被强制下线!');
top.location.href = '${basePath}/sso/login';
</c:if>
//解决iframe下系统超时无法跳出iframe框架的问题
if (window != top){
top.location.href = location.href;
}
</script>
</body>
</html>
</html>