摘要: 1、父组件传值给子组件 $props,子组件传值给父组件 $emit 父组件 <div id="app" > <tree-component @func="getMsgFormSon" :childmsg="fatherParams"></tree-component> //引入的子组件,fathe 阅读全文
posted @ 2019-01-07 09:25 尼古拉斯-富贵 阅读(1037) 评论(0) 推荐(1) 编辑