浏览代码

Improved export all

zhixin 6 年之前
父节点
当前提交
9b2afa4e49
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/extensions/export/bootstrap-table-export.js

+ 2 - 0
src/extensions/export/bootstrap-table-export.js

@@ -207,9 +207,11 @@ $.BootstrapTable = class extends $.BootstrapTable {
         ? 'post-body.bs.table' : 'page-change.bs.table'
       this.$el.one(eventName, () => {
         doExport(() => {
+          this.virtualScrollDisabled = false
           this.togglePagination()
         })
       })
+      this.virtualScrollDisabled = true
       this.togglePagination()
       this.trigger('export-saved', this.getData())
     } else if (o.exportDataType === 'selected') {