在登录界面中加上js语句: <scriptlanguage="JavaScript"> if (window != top) top.location.href = location.href; </script>