摘要: 1.scrollTop scrollTop 为 0 2.history.scrollRestoration 使用很简单,在页面的任意位置执行下面几行 JS 代码就可以了: if (history.scrollRestoration) { history.scrollRestoration = 'ma 阅读全文
posted @ 2024-03-22 17:49 SimoonJia 阅读(33) 评论(0) 推荐(0) 编辑