一、父调子
1.,先引入子组件
<child-page ref="childPage" />
2.调用
this.$refs.childPage.init(child);
二、子调父
this.$parent.getList()
一、父调子
1.,先引入子组件
<child-page ref="childPage" />
2.调用
this.$refs.childPage.init(child);
二、子调父
this.$parent.getList()