当有竖向滚动轴时,返回页面顶部

document.body.scrollTop = document.documentElement.scrollTop = 0;

posted @ 2018-07-12 15:22  纳尼呢  阅读(55)  评论(0编辑  收藏  举报