window.scrollTo()和window.scroll()是同一个方法,参考MDN。window.scrollTo()在window对象上实现滚动效果//可以直接调用window.scrollTo(0, 1000) ...
確定! 回上一頁