Browse Source

Fix export bug

zhixin 6 years ago
parent
commit
0a1b07717e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/extensions/export/bootstrap-table-export.js

+ 3 - 1
src/extensions/export/bootstrap-table-export.js

@@ -143,7 +143,9 @@ $.BootstrapTable = class extends $.BootstrapTable {
       this.$export.find('.dropdown-content').attr('id', 'toolbar-export-id')
     }
 
-    super.handleToolbar()
+    if (super.handleToolbar) {
+      super.handleToolbar()
+    }
   }
 
   exportTable (options) {