elenment 在路由切换后 如何将滚动条置顶???
mounted() { this.$router.afterEach((to, from, next) => { window.scrollTo(0, 0) }) }
你好!遇到什么技术难题了嘛?请点击我要提问,我们免费帮您解答!!!