vue-router
vue-router copied to clipboard
fix: onBeforeRouteLeave not remove (fix #3826)
The problem seems to be that onBeforeRouteLeave
lacks handling of onActivated
and onDeactivated
hooks in the keep-alive component.
I referred to vue router 4 to fix the processing of onBeforeRouteLeave
.
https://github.com/vuejs/router/blob/main/packages/router/src/navigationGuards.ts
Fix #3826
Deploy Preview for vue-router-docs-v3 canceled.
Name | Link |
---|---|
Latest commit | b382a4f536d9ea857f746c28c85f684456a65db7 |
Latest deploy log | https://app.netlify.com/sites/vue-router-docs-v3/deploys/65577936393c7f0008385ce8 |