Vue resolves the route only the change parameter page component is not updated

:

http: // localhost: 8080 / # / xxx? A = 1 & b = 1

If it is only changed? The back parameters, page components do not respond to

Solution:

Use Watch Listening Routing Changes in Route Object Attributes

 WATCH: {'$ route' (to, from) {// data data operation}}   
The above VUE resolves the route only change parameters The page component is not updated is the full content of Xiaobian sharing to everyone. I hope I can give you a reference, and I hope everyone will support Tumi Cloud.
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment