<myInput a="1" @change="()=>{}"></myInput> <!-- <el-input v-bind="$attrs" > $slot //透传属性,事件,插槽 ref获取目标实例-->