element-ui表格列表前面改为radio单选框`
<el-table-column label="选择">
<template slot-scope="scope">
<el-radio
:label="scope.$index"
v-model="templateRadio"
@change="getTemplateRow(scope.$index,scope.row)"
style="margin-left: 10px;"
> </el-radio>
</template>
</el-table-column>
getTemplateRow(index, row) {
this.templateSelection = []
this.templateSelection.push(row) ;
console.log("data",this.templateSelection);
},