scrollBehavior (to, from, savedPosition) {
return { x: 0, y: 0 }
}
my goal is to scroll to the top of the page every time after switching routes
but this configuration only seems to work for first-level routes, but secondary route switching like / page/1-> / page/2 doesn"t work. What should I do with it