1. Project requirement is detail page – other, other return details page need to cache details page data
From the Internet to see a lot of examples are not good, they tried to do next
2. Failure examples
In app.vue, vif is used to determine whether the route has cache. In the route component, route navigator is used to determine beforeRouteLeave is used to determine which page needs to be returned to cache. Keepalive is true to return details from other pagesCopy the code