bootstrap表格添加序号
{
title: '序号',
align: 'center',
halign: 'center',
width: '5%',
formatter: function(value, row, index) {
var options = $('#' + id).bootstrapTable('getOptions');
console.log(options.pageSize)
return options.pageSize + index + 1 - options.pageSize;
}
},