在bootstrap-table.js文件的第2516行加上this.$header.outerHeight() 判断
if (this.options.showHeader && this.options.height && this.$header.outerHeight()) {
this.$tableHeader.show()
this.resetHeader()
padding += this.$header.outerHeight(true)
} else {
this.$tableHeader.hide()
this.trigger('post-header')
}