Browse Source

表格大批量导出优化细节

lizw 3 years ago
parent
commit
b199472572
2 changed files with 6 additions and 1 deletions
  1. 5 0
      dist/yvan-ext.js
  2. 1 1
      dist/yvan-ext.js.map

+ 5 - 0
dist/yvan-ext.js

@@ -95630,7 +95630,12 @@ define(['exports'], function (exports) { 'use strict';
                 });
             },
             exportBigExcelClick: function () {
+                var _a;
                 var me = this;
+                if (!((_a = me.dbInfo) === null || _a === void 0 ? void 0 : _a.jdbcurl) || !me.exportDataSql) {
+                    showErrorDialog('当前表格不支持大批量导出');
+                    return;
+                }
                 var config = me.config;
                 var scope = lookupScope(me);
                 var excelFileName = config.excelFileName || scope.vjson.title || lodash.uniqueId("excel-");

File diff suppressed because it is too large
+ 1 - 1
dist/yvan-ext.js.map