10.vue router 带参数跳转

vue router 带参数跳转

发送:this.$router.push({path:'/news',query:{id:row.id}})

接收:var id=this.$route.query.id

返回上一步:this.$router.go(-1)

原文地址:https://www.cnblogs.com/TimerHotel/p/vue_10.html