You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
posva
changed the title
router.push() doesn't update query when providing name route doesn't change
router.push() doesn't update query when provided name route doesn't change
Sep 15, 2017
Actually, I don't know why I marked this as a bug... If the array is the same, it's normal for the router not being able to tell it's a different location. To fix it we could compare the JSON representation (which could be very slow) or copy the arrays in queries which can also be slow.
Version
2.7.0
Reproduction link
http://jsfiddle.net/ub9e33fm/12
Steps to reproduce
What is expected?
$route.query should update
What is actually happening?
It only updates after another navigation
The text was updated successfully, but these errors were encountered: