问题描述:
打印表格出现以下问题
解决方法:
注释掉高度,问题就解决了,具体原因不清楚,有大佬知道的,可以留言指教下
$table.bootstrapTable({
// height: getHeight(),
striped: true,
uniqueId: 'year',
searchOnEnterKey: true,
showColumns: true,
minimumCountColumns: 2,
paginationLoop: false,
classes: 'table table-hover table-no-bordered',
smartDisplay: false,
idField: 'year',
sortName: 'year',
sortOrder: 'desc',
escape: true,
searchOnEnterKey: true,
idField: 'year',
maintainSelected: true,
toolbar: '#toolbar',
showExport: true, //工具栏上显示导出按钮