VUE保留默认参数传参 当我们子传父时事件会带有默认的参数 this.$emit(‘change’,{val:val}) 在子组件中需要传参,可以使用$event代表默认参数 <hh @change="handelChange($event,index)"> </hh> handelChange(data,index){ console.log(data,index) }