the scrollBehavior implementation of vue-router is used in the project to navigate to the anchor point, which is already used under history mode. The address bar is already localhost:8080/home/basicInfo-sharpvideo, but it is not immediately located but needs to be refreshed to locate the location of the video. No, no, no.
the configuration of scrollBehavior is official: https://github.com/vuejs/vue-.
roughly speaking, there is a parent menu in the parent component to toggle the content displayed in the router-view, while the child menu is to locate the component in the router-view