Element-ui el-select selection data problem

 <el-select v-model="value" @change="currentSel" placeholder="">
        <el-option v-for="item in options1" :key="item.value" :label="item.parentId" :value="item.labelName"></el-option>
 </el-select>

data structure

 [
    {
        "id": 1,
        "labelName": "",
        "labelContent": null,
        "labelRemark": null,
        "parentId": 1
    },
    {
        "id": 2,
        "labelName": "",
        "labelContent": null,
        "labelRemark": null,
        "parentId": 2
    },
    {
        "id": 3,
        "labelName": "",
        "labelContent": null,
        "labelRemark": null,
        "parentId": 3
    }
]

callback method

currentSel(selVal){
    this.selVal = selVal;
    console.log(selVal)
},

how to let me choose accessories selVal print 1, jewelry selVal print 2. That is, the value of the corresponding parentId


: label : value two fields are reversed


swap the values bound by label and value

 <el-select v-model="selVal" @change="currentSel" placeholder="">
        <el-option v-for="item in options1" :key="item.value" :label="item.labelName" :value="item.parentId"></el-option>
 </el-select>

get the v-model value of this drop-down box in the function

currentSel(){
    //selValv-model
    console.log(this.selVal)
},

< el-select VMI model = "selVal" @ change= "currentSel" placeholder= "Select Category" >

    <el-option v-for="item in options1" :key="item.parentId" :label="item.labelName" :value="item.parentId"></el-option>

< / el-select >

Menu