bootstrap table 显示行号
<th rowspan="2" data-field="index" data-formatter="indexFormatter" >序号</th>
<script>
function indexFormatter(value, row, index) {
return index + 1;
}
</script>
bootstrap table 显示行号
<th rowspan="2" data-field="index" data-formatter="indexFormatter" >序号</th>
<script>
function indexFormatter(value, row, index) {
return index + 1;
}
</script>