跳转前
this.$router.push({
name: "activDetails",
query: {
activityId: data.activityId,
},
});
在这打印 this.$route能看到参数
然后接收
this.$route.query.activityId
跳转前
this.$router.push({
name: "activDetails",
query: {
activityId: data.activityId,
},
});
在这打印 this.$route能看到参数
然后接收
this.$route.query.activityId