Vue:子组件改变父级组件的信息

父级:

1
<accountOpeningBank v-on:childMethod="purchLists"></accountOpeningBank>

子级:

this.$emit('childMethod', this.messageList);

 

posted @   代码是我蓝朋友  阅读(181)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示