vue父組件中調(diào)用子組件函數(shù)的方法?
<!--編輯會(huì)員--><editUser ref="editUser" v-on:childMethod="parentMethod"></editUser>12<script>import editUser from './Edit.vue';export default {data() {return {}},methods:{parentMethod(param){console.log('parent');},}}</script>