src/views/dataPush/components/point.js @@ -1,4 +1,5 @@ export const traverse = (arr, newArr = []) => { // 递归 遍历数组 满足条件 a.type === "4" push进入新数组 然后弹出新数组 for (let i = 0; i < arr.length; i++) { let a = { ...arr[i] } if (a.type === "4") {