jquery暂停几秒再执行函数

例:window.setTimeout(function(){ location.href = loginUrl; },3000);
实现3秒后跳转到登录页面。

评论

暂无评论