The route jump is used in the vue project, the page can be displayed normally, but the path is missing?

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:

:

clipboard.png

:

clipboard.png

console.logto from fullPathpath "/" :

clipboard.png

clipboard.png

name,path:

clipboard.png

clipboard.png

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

Mar.11,2022
Menu