app.vue:
mounted() {
this.$router.afterEach((to, from, next) => {
window.scrollTo(0, 0)
})
},
app.vue:
mounted() {
this.$router.afterEach((to, from, next) => {
window.scrollTo(0, 0)
})
},