how does the table of element request data based on the id of each row? I need to get the data of each row according to the id of each row and assign it to the options of el-select. I don"t seem to find a way to do this
< el-table
:data="detailList"
style="width: 100%"
header-row-class-name="blackTableHeader">
<el-table-column prop="index" label="" align="center">
<template slot-scope="scope">
{{scope.$index+1}}
</template>
</el-table-column>
<el-table-column prop="name" label="" align="center"></el-table-column>
<el-table-column prop="position" label="" align="center" :formatter="getData">
<template slot-scope="scope">
// id
<el-select v-model="selectedPosition" placeholder="">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column prop="operation" label="" align="center">
<template slot-scope="scope">
<span class="delete"></span>
</template>
</el-table-column>
</el-table>