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