emit传多个参数

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];
}

原文地址:https://www.cnblogs.com/lhuser/p/12053835.html