<el-select
v-model="saveWardForm.wardCode"
placeholder=""
filterable
@blur="selectBlur" >
<el-option
v-for="(item, index) in virtualWardData"
:label="item.wardName"
:value="item.wardCode"
:key="index"
></el-option>
</el-select>
methods:{
selectBlur(e){
this.saveWardForm.wardCode = e.target.value
}
}
element el-select可选择可输入
最新推荐文章于 2024-07-03 09:40:23 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)