vue-router-- the corresponding knowledge of js

?a=1234

Correspondence is: location.search

#/orderSuccess?orderid=021223242424

Correspondence is: location.hash

 

Guess you like

Origin www.cnblogs.com/xiao-peng-ji/p/11628603.html