console.log( _this.$route.params.id)接收参数

 

<div class="baoming"><router-link :to="{path:'/competition/'+ssl.id}">报名</router-link></div>跳转

 

{//路由配置
path: '/competition/:id',
name: 'competition',
component: competition
},