Springboot redirects redirect to the front page, how to get the parameters carried in the vue foreground and hide the parameters in the address navigation bar URL at the same time

backend sprngboot, foreground vue.js
need to be redirected to the foreground system default page. Take two parameters: token userId

//
new ModelAndView("redirect:/event?param1="+token+"&param2="+userId); 

when the frontend comes in, the page address bar contains the token information. How to get the token carried in the foreground and remove the parameter information from the address bar after the page jumps.

clipboard.png

302URL tokenindexurl

clipboard.png

Jun.24,2022

Hello, have you solved the problem? How did it happen? I have the same problem now. Thank you

.
Menu