Vue3 page jump with parameters
First, add a button, and then use the router global routing to jump to the page with parameters. First, configure the page information that needs to be jumped in the index.js file of the router: locate the
jump according to the defined name attribute (previously use The problem is that the path cannot always be passed as undefined, but it can jump), and the params parameter is passed.
Use the OnMounted method directly on another page, and execute it immediately after rendering, and use the route of the current page to obtain the previously passed parameters.
You can realize the page jump pull with parameters