How does vue traverse the face values in an array of objects and store them in an array package object?

Loop out multiple arrays in the objects inside, then wrap multiple objects in an array and store them in the form of key-value pairs, that is, the values I print below
clipboard.png
are written by myself. I can only iterate through one array, two layers of loops, but I don"t know how to loop

.
console.log("res",res);
  for (let v of Object.values(res.data.data.arborList)) {
      this.speciesData = v || [];
  }
  console.log("speciesData", this.speciesData);
Mar.12,2021

 this.speciesData=[]
 for (let v of Object.values(res.data.data.arborList)) {
      this.speciesData = this.speciesData.concat(v)
  }

cycle out the arborList array first, and then loop the array through the corresponding index. If you don't know what effect you want, you can't give the corresponding code, and you don't know if there is something wrong with your data structure. You can do this

.
Menu