<uni-forms-item label="运单号" name="code">
<uni-easyinput v-model="searchFormData.code" @focus="searchInputFocus" type="text" placeholder="运单号" />
</uni-forms-item>
我想在聚焦的时候获取name属性code的值,改怎么做
<uni-forms-item label="运单号" name="code">
<uni-easyinput v-model="searchFormData.code" @focus="searchInputFocus" type="text" placeholder="运单号" />
</uni-forms-item>
我想在聚焦的时候获取name属性code的值,改怎么做
1 个回复
7***@qq.com (作者) - 前端开发人员
<uni-forms-item label="运单号" name="code">
<uni-easyinput v-model="searchFormData.code" @focus="searchInputFocus" type="text" placeholder="运单号" />
</uni-forms-item>
就是这个表单组件