使用params时,不能使用path,应使用name跳转,
例:
1 this.$router.push({ 2 name: ‘xxx‘, 3 params: { 4 a: ‘xxx‘, 5 b: ‘xxxx‘ 6 } 7 })
vue 路由跳转取不到params参数
原文:http://www.cnblogs.com/elza-young/p/7986143.html