摘要: 第一种方法 直接在子组件中通过this.$parent.event来调用父组件的方法 父组件 <template> <div> <child></child> </div> </template> <script> import child from './components/dam/child' 阅读全文
posted @ 2020-05-09 15:43 徐12 阅读(3650) 评论(0) 推荐(0) 编辑