ソースを参照

Fixed bottom border bug with height option

zhixin 6 年 前
コミット
dc285629da
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -2572,7 +2572,7 @@ class BootstrapTable {
     if (!this.options.cardView && this.options.showHeader && this.options.height) {
     if (!this.options.cardView && this.options.showHeader && this.options.height) {
       this.$tableHeader.show()
       this.$tableHeader.show()
       this.resetHeader()
       this.resetHeader()
-      padding += this.$header.outerHeight(true)
+      padding += this.$header.outerHeight(true) + 1
     } else {
     } else {
       this.$tableHeader.hide()
       this.$tableHeader.hide()
       this.trigger('post-header')
       this.trigger('post-header')