@input事件 ,当键盘输入时,触发input事件,event.detail = {value}
<input class="uni-input" @input="onKeyInput()" />
场景
@input事件想要传递一个参数到方法中 但是同时还要保留原来返回的event
解决方法:$event
@input="onKeyInput($event,123)"
运用
效果图:
![在这里插入图片描述](https://img-blog.csdnimg.cn/20201221101130550.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2NkZ29nbw==,size_16,color_FFFFFF,t_70)
<view class="item" v-for="(item,index) in PickedList" :key="index">
<view class="itemTop">