if (window != top){ //如果当前窗口不是最顶层的窗口
top.location.href = location.href; //那么就让最顶层的href 为当前页面的href
}
session过期 登录页面嵌套到iframe里
最新推荐文章于 2024-05-31 15:30:08 发布
if (window != top){ //如果当前窗口不是最顶层的窗口
top.location.href = location.href; //那么就让最顶层的href 为当前页面的href
}