bootstrap-table设置某列序号自增

col = [{
    field: 'SerialNumber',
    title: '序号',
    formatter: function (value, row, index) {
        return index+1;
    }
}]

  

原文地址:https://www.cnblogs.com/lhyhappy365/p/6418375.html