瀏覽代碼

导出事件

yuliang 3 年之前
父節點
當前提交
b8a88ef424
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 = []