在bootstrap-table.js文件的第2516行加上this.$header.outerHeight() 判断

bootstrap-table页面表头重复解决办法
bootstrap-table页面表头重复问题处理办法
 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')
      }

发表回复

后才能评论