标签:table gif 页面 highlight rop mic com out 图片
我要从一个页面跳到另一个页面,同时实现传值
网上说了很多兄弟传值,什么bus,不管用,反正我试不灵,也可能我的方法不对

从creatTable传值传到Props那个,
1.这个creatTable中的一个method中的一个方法里的部分
this.$router.push({
path: "creatPropsAndCon/",
query: {
uid: this.ruleForm
}
});
在creatTable中的语句
beforeMount() {
console.log("beforeMount.log(this.acceptLi)")
this.acceptLi=JSON.parse(JSON.stringify(this.$route.query.uid))
console.log(this.acceptLi)
},
最后上截图,保证有效

标签:table gif 页面 highlight rop mic com out 图片
原文地址:https://www.cnblogs.com/czrb/p/12810274.html