v-for 中el-table遍历并单独处理某行

v-for 中el-table遍历并单独处理某行

 <el-table-column v-for="(item, index) in column"
                             :prop="item.key"
                             :label="item.title"
                             :align="item.align"
                             :fixed="item.fixed"
                             :key="index"
                             :minWidth="item.width">
                    <template slot-scope="scope">
                        <div v-if="item.key == 'is_default'">
                           <el-radio v-model="radio" :label="scope.row.id"></el-radio>
                        </div>
                        <div v-else>{{scope.row[item.key]}}</div>
                    </template>
            </el-table-column>
原文地址:https://www.cnblogs.com/wangduojing/p/13739717.html