在登录页面加上如下js代码,在页面头部加
<head>
<script>
//登陆判断父页面是否跳转到登录页
if (window.top!=null && window.top.document.URL!=document.URL){
window.top.location= document.URL;
}
</script>
</head>
转载自:
在登录页面加上如下js代码,在页面头部加
<head>
<script>
//登陆判断父页面是否跳转到登录页
if (window.top!=null && window.top.document.URL!=document.URL){
window.top.location= document.URL;
}
</script>
</head>
转载自: