Skip to content
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

About lifecycle of keep-alive #1621

Closed
zhangzhonghe opened this issue Jul 18, 2020 · 1 comment
Closed

About lifecycle of keep-alive #1621

zhangzhonghe opened this issue Jul 18, 2020 · 1 comment
Labels
🐞 bug Something isn't working scope: keep-alive

Comments

@zhangzhonghe
Copy link
Member

Version

3.0.0-rc.1

Reproduction link

https://zhangzhonghe.github.io/vue-keep-alive-bug/

Steps to reproduce

1, open link
2, open devtools
3, click button

What is expected?

当one组件再次显示时,应该只触发activated hook。

What is actually happening?

再次触发created hook 和 mounted hook。

@zhangzhonghe
Copy link
Member Author

@yyx990803 yyx990803 added 🐞 bug Something isn't working scope: keep-alive labels Jul 19, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: keep-alive
Projects
None yet
Development

No branches or pull requests

2 participants