-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keep-alive doesn't call $destroy if view is actived #7566
keep-alive doesn't call $destroy if view is actived #7566
Comments
And it's working as expected according to my tests. |
Just verified. Yes. It seems to work as intended. I think it's the typo @javoski pointed out. |
It wasn't the typo. |
@fnlctrl when I tried the fiddle you posted I saw In the Screenshot above, you can see multiple versions of You might want to use a |
Version
2.5.13
Reproduction link
https://jsfiddle.net/50wL7mdz/94716/
Steps to reproduce
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
The text was updated successfully, but these errors were encountered: