this.$router.push({path:'/shop',query:{
goods_name:goods_name,
goods_price:goods_price,
uid:goods_price
}})
获取路由值
return{
uid:sessionStorage.getItem('uid'), //获取session 值可忽略
goods_name:this.$route.query.goods_name, //获取路由值
goods_price:this.$route.query.goods_price,
}