query 

  1:参数会在地址栏显示

  2:参数不需要在路由的path后接:args1/:args2

  3:获取参数用this.$route.query.args1

params

  1:参数需要在路由的path后接:args1/:args2

  2:获取参数用this.$route.params.args1

相关文章:

  • 2022-03-07
  • 2021-10-13
  • 2022-01-21
  • 2022-12-23
  • 2021-08-22
  • 2022-12-23
  • 2021-07-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
  • 2021-07-06
相关资源
相似解决方案