摘要: 1、在父组件中使用子组件内的方法 //父组件代码 <template> <div> <el-button @click="click">点击调用子组件中的函数</el-button> <Son ref="son" /> </div> </template> <script> import Son f 阅读全文
posted @ 2020-03-16 11:24 卑微小吴 阅读(644) 评论(0) 推荐(0)