vue ui组件透传

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

 

posted @ 2025-01-11 09:32  Gawaine  阅读(11)  评论(0)    收藏  举报