BootStrap-Table固定列和表头 需要引入的js和css 在使用js方式加载表格时,增加属性: $('#table').bootstrapTable('destroy').bootstrapTable({ fixedColumns: true, // 开启固定列功能 fixedNumber: 2, // 固定列数量 }) 完成,就这么简单!