https://blog.csdn.net/lxy123456780/article/details/87811113

 

子组件:

this.$emit('closeChange',false,true);

 

 


父组件:

<posilCom @closeChange="closeCom(arguments)"></posilCom>


closeCom(msg) {
this.msg1 = msg[0];
this.msg2 = msg[1];
}

相关文章: