Does the vue route switch show the bottom of the component rather than the top?

problem description

two routes, the head is the same, and the body is switched according to router-view. When I scroll to the bottom and click the button to jump to the next route, it displays the bottom of the next page, and I have to scroll back to the top to operate.

the environmental background of the problems and what methods you have tried

I forced to reset scroll to 0, which is feasible, but I"m not looking for a solution. I want to know if it"s a layout problem, or if I opened vue? by mistake

.

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Apr.01,2021

ide/advanced/scroll-behavior.html" rel=" nofollow noreferrer "> vue Router scrolling behavior

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36818-2c003.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36818-2c003.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?