JavaScript实现一个页面定时刷新的功能

setInterval(function() {
  location.reload();
}, 5000);
注:每五秒刷新
posted @ 2023-12-04 09:27  djx359  阅读(84)  评论(0)    收藏  举报