Vue-router keep-alive usage question

good boss, I am a novice to VUE, encountered this demand, there are A Magi BJI C3 pages, An is the home page, B is the list, C is the details
1. From A > br A does not refresh, B refresh; < refresh > 2. Do not refresh from B > C br B, C refresh; < refresh > 3. Destroy from C > BJR C, B does not refresh;
4. From B > keep-alive B to destroy, A does not refresh;
how to combine keep-alive to achieve the above requirements?

May.24,2022

has an attribute, includes excludes. Control what needs to be cached, just change it dynamically, and then this kind of keep-alive doesn't make any sense. And may result in a lot of unknown bug.

Menu