vxianfeng

vue 页面跳转及参数传递和接收

跳转:
this.$router.push({name: \'My\',params:{ id:\'1\',name:\'anson\'}});
 
接收:
{{this.$route.params.id}}


分类:

技术点:

相关文章:

  • 2021-11-28
  • 2021-11-07
  • 2021-11-28
  • 2021-09-17
  • 2021-11-28
  • 2021-11-28
  • 2021-11-28
猜你喜欢
  • 2021-11-28
  • 2021-05-11
  • 2021-11-28
  • 2021-11-28
  • 2022-01-16
  • 2021-11-28
  • 2021-11-28
相关资源
相似解决方案