vue-router icon indicating copy to clipboard operation
vue-router copied to clipboard

fix: onBeforeRouteLeave not remove (fix #3826)

Open wynn719 opened this issue 9 months ago • 1 comments

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

wynn719 avatar Nov 16 '23 09:11 wynn719

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

netlify[bot] avatar Nov 16 '23 09:11 netlify[bot]