Vue-router dynamic routing. Adding pages in the background needs to be refreshed before it can be used normally.

  1. except for the basic login and the home page, everything else is obtained from the background and added with addRouter.
  2. now there is a problem. I added a routing information to the database, and I logged in again on the page. I also got the list of newly added routing information and added it to the sidebar normally, but it did not jump normally when I clicked. Instead, it directly triggered 404. It needs to be refreshed and then clicked to jump normally.
Apr.29,2022

it is very likely that your 404 page routing rule is in front of your Singapore route, resulting in a 404 departure when parsing the routing rule. You can try to disable the 404 routing rule first and see if you can jump directly to the last part of the route


so that this problem will not occur.

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-1e50d4c-5966c.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-1e50d4c-5966c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?