Can the component corresponding to the route requested by the vue backend take effect?

The

project is based on the background management developed by vue, which needs to be controlled by permission classes. The
backend says that he will control it. The login has the route requested from the page that can be accessed according to the account
. Will it be gone after refreshing on the addRoutes?
will the component corresponding to the requested route not take effect
is there a three-level navigation to nest layer 3 routes?


is theoretically possible, because vue routing still uses hashchange event listening state, and then executes the corresponding hook function


    . The route requested by
  1. is gone after refresh on addRoutes, so add
  2. when refreshing.
  3. three-level navigation is to nest three-layer routing, and your html structure should also be changed to three layers. iview-admin 's three-layer nesting modification
  4. whether the component corresponding to the requested route will not take effect. This is the route from which the addRoutes dynamically adds the request. It is OK to add it before jumping to this routing event.
Menu