dynamic routing is used in the project, and the page can be displayed normally, but the address bar path is lost and becomes the root path"/"
. routing configuration is as follows:
:
:
console.logto from fullPathpath "/" :
name,path:
although the page can be displayed normally, after refresh, because the route becomes"/", it will be redirected directly to the login page, which has perplexed me for a long time. So far, I haven"t figured out why. I hope someone can give me some advice. thank you very much