下拉框选中获取value和label方法
<el-select v-model="remotePram" value-key="id" filterable remote placeholder="请输入关键词" :remote-method='remoteMethod' @change="handleValue">
<el-option
v-for="item in orgOptions"
:key="item.id"
:label="item.producerName"
:value="item">
</el-option>
</el-select>
注意点
el-select 添加value-key=‘id’,value-key作为 value 唯一标识的键名,绑定值为对象类型时必填
el-option :value赋值为item
来源:CSDN
作者:Thurmanwang
链接:https://blog.csdn.net/Thurmanwang/article/details/103934428