dtable-statistic 5.0.42-alpha.3 → 5.0.42-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -208,11 +208,10 @@ const exportOneDimensionToTable = _ref => {
|
|
|
208
208
|
};
|
|
209
209
|
Array.isArray(pivot_columns) && pivot_columns.forEach(item => {
|
|
210
210
|
const {
|
|
211
|
-
key
|
|
212
|
-
method
|
|
211
|
+
key
|
|
213
212
|
} = item;
|
|
214
213
|
const column = columnMap[key];
|
|
215
|
-
const cellValueKey = key
|
|
214
|
+
const cellValueKey = key;
|
|
216
215
|
const {
|
|
217
216
|
name,
|
|
218
217
|
type,
|
|
@@ -225,8 +224,10 @@ const exportOneDimensionToTable = _ref => {
|
|
|
225
224
|
}
|
|
226
225
|
newRow[name] = cellValue;
|
|
227
226
|
});
|
|
227
|
+
console.log('newRow', newRow);
|
|
228
228
|
rows.push(newRow);
|
|
229
229
|
});
|
|
230
|
+
console.log('rows', rows);
|
|
230
231
|
return {
|
|
231
232
|
columns,
|
|
232
233
|
rows
|