二级路由下怎么传递参数呢?
{
path: '/vueRouter',
component: vueRouter,
children: [{
path: 'aaa',
component: aaa
}]
}
1
per 2018-03-01 15:32:55 +08:00 via iPhone
带在 url 里面,this.$router.params 取
|