vue routing mass participation differences query and routing params parameter passing?

The same point: router file index.js are using the name attribute.

 

 

 params passed when:

 

 

 params using this $ route.param be accepted upon receiving:

 

 

 query routing parameter passing:

 

 

 query to accept the use of this. $ route.query

 

 

 The show route on the params like Ajax mass participation in post parameter passing mode:

 

 

query routing parameter passing like get mass participation

 

 

 

Guess you like

Origin www.cnblogs.com/manban/p/12012567.html