Closed
Description
Version
2.5.13
Reproduction link
https://jsfiddle.net/50wL7mdz/94716/
Steps to reproduce
- navigate to page-a to make keep-alive to cache page-a component
- navigate to page-b to make keep-alive to cache page-b component
- now, if remove cache of page-a, page-a was destroyed correctly,
if navigate back to page-a and remove cache of page-b ,page-b was not destroyed
What is expected?
page-b was destroyed
What is actually happening?
page-b was was not destroyed
https://github.com/vuejs/vue/blob/dev/src/core/components/keep-alive.js#L44