var ferrer = document.referrer;
if($.trim(ferrer)==”){
location.href = ‘index/index.html’;
}else{
if(ferrer.indexOf(‘/BaiMa’)==-1){ //来自其它站点
location.href = ‘index/index.html’;
}
location.href = ferrer;
}
js 判断登录之后,返回到上一个的页面
最新推荐文章于 2024-05-20 10:00:00 发布