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

beforeRouteEnter hook's cb is not called (same component across diffrent routes and keep-alive applied ) #2561

Open
yidazh opened this Issue Dec 28, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@yidazh
Copy link

yidazh commented Dec 28, 2018

Version

3.0.2

Reproduction link

https://jsfiddle.net/9vctongd/1/

Steps to reproduce

  1. open the JSFiddle provided, open the console
  2. click link GO TO FOO1
  3. click link GO TO BAR
  4. click link GO TO FOO2

What is expected?

console prints:

foo enter

foo enter cb

foo enter

foo enter cb

What is actually happening?

console prints:

foo enter

foo enter cb

foo enter


also results in an infinite function call (function poll in base.js)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment