The use of addRoutes in Vue-router has no effect.

it is not valid to add dynamic routes in vue-router using addRoutes .

The
  http://localhost:8080/-sharp/login page is also displayed normally. 
after a successful login, the router.push ("/") to the root path page is a blank.

there is no problem in determining the path. Components are loaded normally into. I really don"t know where I went wrong.

Mar.24,2021

No one answered.


I have the same problem. Have you solved it?


Hello, I have the same problem as you. Have you solved


have you solved it?


landlord, have you solved it? now I have also encountered that using addRoutes in


beforeEach cannot be added, because this is the hook before the access route. You need to make your own judgment. You can redirect to the visited page after addRoutes and visit it again, because addRoutes has already been executed

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b5ac-2afcd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b5ac-2afcd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?