子组件: <template>child</template>exportdefault{name:"child",props:"someprops",methods: {parentHandleclick(e) {console.log(e) } } } AI代码助手复制代码 父组件: <template>点击<childref="mychild"></child></template>importChildfrom'./child';exportdefault{name:"parent",components: {child:Chi...