<script language="JavaScript"> if (window != top) top.location.href = location.href; </script>在login页面加入这样的js代码