session过期后跳转到登录页时跳出iframe框架 $(function(){ if (window != top) { top.location.href = location.href; } });