var second = 3;
function redirectUrl(){
if(second > 0 ){
setTimeout("redirectUrl()",1000);
}else{
window.open("${url}","_self");
}
second--;
}
redirectUrl();
转载于:https://www.cnblogs.com/yanjunwu/p/3644851.html
var second = 3;
function redirectUrl(){
if(second > 0 ){
setTimeout("redirectUrl()",1000);
}else{
window.open("${url}","_self");
}
second--;
}
redirectUrl();
转载于:https://www.cnblogs.com/yanjunwu/p/3644851.html