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

笔误 #62

Open
lyl123321 opened this issue Aug 19, 2019 · 0 comments
Open

笔误 #62

lyl123321 opened this issue Aug 19, 2019 · 0 comments

Comments

@lyl123321
Copy link

lyl123321 commented Aug 19, 2019

keep-alive 生命周期
原文:这里判断如果是被<keep-alive> 包裹的组件已经 mounted,那么则执行 queueActivatedComponent(componentInstance)。
建议:‘被<keep-alive> 包裹的组件已经 mounted ’ 应该改为 ‘<keep-alive> 组件的父组件已经 mounted’。毕竟上面那条 if 语句的作用就是调用 '被<keep-alive> 包裹的组件' 的 mounted 钩子。

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

No branches or pull requests

1 participant