ソースを参照

Fixed remove toolbar when click cardView button.

unknown 10 年 前
コミット
257cbfa62b
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/bootstrap-table.js

+ 2 - 1
src/bootstrap-table.js

@@ -810,7 +810,8 @@
                 .off('click').on('click', function () {
                     that.options.cardView = !that.options.cardView;
                     that.initHeader();
-                    that.initToolbar();
+                    // Fixed remove toolbar when click cardView button.
+                    //that.initToolbar();
                     that.initBody();
                 });
         }