setTimeout(abc(), 1000);//1000表示1000毫秒,即1s
function abc(){
alert(123);
}
前端非常简单的页面数据定时刷新功能
转载于:https://www.cnblogs.com/fannn/p/7866236.html
setTimeout(abc(), 1000);//1000表示1000毫秒,即1s
function abc(){
alert(123);
}
前端非常简单的页面数据定时刷新功能
转载于:https://www.cnblogs.com/fannn/p/7866236.html