实现html页面只自动跳转一次

function show(){
var  value= sessionStorage.getItem("flg");
if(value==null || value==undefined){
setTimeout(function(){
sessionStorage.setItem("flg","2");
window.location.href="/student/signup_notice.html?org_id=${org_id}";
},10000);
}
};
页面间跳转需要的参数也一并带过去
posted @ 2019-06-10 18:30  教练我想打篮球  阅读(620)  评论(0)    收藏  举报