this. $ route and this. $ router difference

.. This $ route and this $ router two objects What is the difference:

  this. $ route is the current routing jump object that contains the current route of the name, path, query, params attributes

 

  this. $ router is routing navigation object, use it to jump to other different url address

Guess you like

Origin www.cnblogs.com/spll/p/11567132.html