Vue common components (such as navigation headers), navigation information caching when routing is switched

how can the navigation bar and some user information be cached without refreshing when switching routes

Jun.07,2021

try the following to see if the solution
1, the keep-alive of vue
2, and the level of route-view of the page displayed by the route switch do not contain the components to be cached

Menu