Bootstrap

解决bootstrap-table页面表头重复出现的问题,bootstrap-table.js

在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')
      }

 

;