<el-select size="small" placeholder=""
@change="handDangerousNatureSelect"
v-model="form.dicDangertype">
<el-option :label="item.codename"
:value="item.pkCodenum"
:key="index"
style="padding: 0 15px;"
v-for="(item,index) in localWord.dangerousNature">
</el-option>
</el-select>
the same page is used for editing and viewing. When editing the drop-down box, the value is bound to the code code, and the background needs to transmit the code code. But when editing, the background also returns the code code, so that the v-model becomes a code echo becomes a number I don"t know how to use this component of the heroes select, please give the answer, thank you ~