浏览代码

Merge branch 'develop' into feature/multiselect-filtercontrol

Dennis Hernández 4 年之前
父节点
当前提交
c316cb4d1d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/extensions/export/bootstrap-table-export.js

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

@@ -152,7 +152,7 @@ $.BootstrapTable = class extends $.BootstrapTable {
     let $exportButtons = this.$export.find('[data-type]')
 
     if (exportTypes.length === 1) {
-      $exportButtons = this.$export.find('button')
+      $exportButtons = this.$export
     }
 
     $exportButtons.click(e => {