vue页面跳转兄弟组件传值

1、发送页面里面跳转函数写上

this.$router.push({
path: "/userinfo",
query: {
uid: index.account(参数)
}
});

2、接受页面

beforeMount() {
alert(this.$route.query.uid); // 在orderDetail页里面直接接收
},

原文地址:https://www.cnblogs.com/lsyy2017/p/11219962.html