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

谈谈你对keep-alive的理解 #112

Open
Cosen95 opened this issue Apr 25, 2020 · 2 comments
Open

谈谈你对keep-alive的理解 #112

Cosen95 opened this issue Apr 25, 2020 · 2 comments
Labels

Comments

@Cosen95
Copy link
Owner

Cosen95 commented Apr 25, 2020

No description provided.

@Cosen95 Cosen95 added the vue label Apr 25, 2020
@Finyu
Copy link

Finyu commented May 9, 2020

我的理解就是不会被销毁

@myzhoulang
Copy link

keep-alive是一个vue的内置的抽象组件,自身不会渲染一个DOM元素,也不会出现在父组件链中,使用keep-alive包裹动态组件时,会缓存不活动的组件实例,而不是销毁它们。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants