vue-父子组件通信 小天天会卖萌 2019-04-19 149 阅读1分钟 1.父组件,在子组件的模块上 <keep-alive> <component v-on:choose-modal="onChooseModal" v-bind:is="currentRightModule" v-bind:mid="mid" v-on:show="showModal"> </component> </keep-alive> 2.子组件 this.$emit('choose-modal', 'coupon-list');复制代码