7983-testToMaster_2438 #2977
|
@ -1,6 +1,6 @@
|
|||
|
||||
function flatten(dataArray) {
|
||||
return dataArray.map(item => flatten(item.__data));
|
||||
return dataArray.map(item => flattenObj(item.__data));
|
||||
}
|
||||
function flattenObj(data, prefix = '') {
|
||||
let result = {};
|
||||
|
|
Loading…
Reference in New Issue