7953-devToTest_2438 #2942
|
@ -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