-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
Version
2.4.0
Reproduction link
http://jsfiddle.net/df4Lnuw6/143/
Steps to reproduce
- Create a route with a child.
- Navigate to the child route with a query parameter. The browser must be at this route initially.
- In the created hook for the root component, replace the route without the query parameter.
- The
beforeRouteUpdate
hook gets called for the child component withthis
either undefined or equal to the window object.
What is expected?
this
should be equal to the Vue instance.
What is actually happening?
this
is undefined
(as is the case for my webpack build) or equal to the window object (in the fiddle).
RezaHaidari, jasonbodily, dahousecat, daut, jackiboy and 2 more
Metadata
Metadata
Assignees
Labels
No labels