<el-table-columnprop="status"label="显示状态"><templatescope="scope"><spanv-if="scope.row.status=== 1">在线</span><spanv-else-if="scope.row.status=== 0">离线</span></template></el-table-column> 二、获取element-ui表格中的渲染的prop值 <el-table-columnlabel="操作"><template slot...
二、获取element-ui表格中的渲染的prop值 <el-table-columnlabel="操作"><templateslot-scope="scope"><el-table-columnlabel="修改"><el-link:underline="false"icon="el-icon-edit"@click="clickChange(scope.row.id)">修改</el-link></el-table-column><el-table-columnlabel="删除"><el-link:underl...