hash模式和history模式history模式提供了pushState和replaceState方法,
$router是vue-router的一个路由实例,$route是当前的路由对象
若有收获,就点个赞吧
0 人点赞
让时间为你证明