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

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


posted on 2018-11-24 20:24  微先锋  阅读(1315)  评论(0编辑  收藏  举报

导航