How does the vue secondary route override the contents of the parent route?

I want to log in to the ahome page through the admin page to make burl look like admin/ahome, and the < router-view > < / router-view > exit is placed on the admin page. If you do this across domains, the admin page will still exist. How can I use a route or how can I override the layout of the parent route?

The

clipboard.png
page is redirected. I have a reaction when I add the background.

Mar.12,2021

extract the login and put it in children of the admin route like ahome , and path is set to ''. Click the login button to jump to ahome

Menu