07 2018 档案
组件之间的方法
摘要:1.父组件调用子组件里面的方法 <doctor-order ref="mychild"></doctor-order>(子组件 在父组件里引用的) this.$refs.mychild.getList(); 2.父组件向子组件传值 <prescription-panel :inputName="na 阅读全文
posted @ 2018-07-07 14:44 鄢宁 阅读(179) 评论(0) 推荐(0)