vue 子组件向父组件传值方法 子组件注册触发事件,父组件注册 触发子组件事件后的方法写在method里面 父组件这么写 <component-a v-on:ch JavaScript 2022-04-10 49 点赞 0 评论 74 浏览