遇到业务场景 需要change事件传id name
value-key="id" 必须带上
<el-select
v-model="selfInfo.province"
:placeholder="currInfo.province"
value-key="id"
@change="handelPro"
>
<el-option
v-for="item in proData"
:key="item.id"
:label="item.name"
:value="item"
>
</el-option>
</el-select>
网友评论