@adins/ucsearch 2.9.17 → 2.9.18
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.
|
@@ -822,13 +822,16 @@ class UCSearchComponent {
|
|
|
822
822
|
}
|
|
823
823
|
mapDataFile(bodyListData, bodyDataArr) {
|
|
824
824
|
let dataExcel = new Array();
|
|
825
|
+
let bodyDataTemp = new Array();
|
|
825
826
|
for (let i = 0; i < bodyListData.length; i++) {
|
|
826
|
-
|
|
827
|
+
if (bodyListData[i]['type'] != 'action') {
|
|
828
|
+
bodyDataTemp.push(bodyListData[i]['property']);
|
|
829
|
+
}
|
|
827
830
|
}
|
|
828
831
|
for (let i = 0; i < bodyDataArr.length; i++) {
|
|
829
832
|
let finalData = {};
|
|
830
833
|
for (const [key, value] of Object.entries(bodyDataArr[i])) {
|
|
831
|
-
if (
|
|
834
|
+
if (bodyDataTemp.indexOf(key) != -1) {
|
|
832
835
|
finalData[key] = value;
|
|
833
836
|
}
|
|
834
837
|
}
|