标签:router self pre temp address this color bsp out
父页面传参:
self.$router.push({
path: parameter.navAddress,
query: { pageId: parameter.pageId, templateId: parameter.templateId }
});
子页面接收参数:
mounted(){ console.log(this.$route.query.pageId); console.log(this.$route.query.templateId); },
标签:router self pre temp address this color bsp out
原文地址:http://www.cnblogs.com/xiaomili/p/7878206.html