Browse Source

导出事件

yuliang 3 năm trước cách đây
mục cha
commit
b8a88ef424
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/controls/grid.js

+ 2 - 2
src/controls/grid.js

@@ -399,11 +399,11 @@ export default function () {
         },
 
         makeExcelData(jsonData) {
-
+            const me = this
+            jsonData = me.fireEvent('onExcelDataLoadCompleted', me, jsonData);
             if (!Array.isArray(jsonData) || jsonData.length === 0) {
                 return
             }
-            const me = this
             const data = [];
             // 获取表格的列定义
             const headerTextArr = []