在第一个页面的this.$router.push要用name进行判断跳转页面,要不然params会冲突加载不到数据
this.$router.push({
name:'choice',
params:{res:result}
})
在第二页就可以用this.$route.params直接拿到上个页面的参数
mounted(){console.log(this.$route.params)}