-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[vue] vue组件会在什么时候下被销毁? #445
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
Labels
vue
vue
Comments
v-if=‘false‘ |
没有使用keep-alive时的路由切换。 |
路由跳转的时候! |
页面关闭、路由跳转、v-if和改变key值 |
v-if绑定的值变为falsy的时候 路由跳转,默认会销毁上一个组件,router.push、go、replace都会走销毁的钩子 改变key值 |
还有父组件销毁后子组件也会被销毁 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[vue] vue组件会在什么时候下被销毁?
The text was updated successfully, but these errors were encountered: