query
1:参数会在地址栏显示
2:参数不需要在路由的path后接:args1/:args2
3:获取参数用this.$route.query.args1
params
1:参数需要在路由的path后接:args1/:args2
2:获取参数用this.$route.params.args1
query
1:参数会在地址栏显示
2:参数不需要在路由的path后接:args1/:args2
3:获取参数用this.$route.query.args1
params
1:参数需要在路由的path后接:args1/:args2
2:获取参数用this.$route.params.args1