正在浏览:bootstrap table

今天在使用bootstrap-table时发现加载出来的数据表出现了两行重复的表头,如图: 经过检查发现是因为我忘记引用bootstrap-table.css样式表文件的原因,添加对bootstrap-table.css或者bootstrap-ta

bootstrap table定义代码: $table.bootstrapTable({ showExport: true, height: 540, rowStyle:rowStyle,//通过自定义函数设置行样式 columns: [ { field: id, title: 序号, align: center, sortable: true }, { field: sid, title: 学号