SoFunction
Updated on 2025-04-08

Solution to the return object in angular4: *ngFor cannot loop over *ngFor returned objects

Solution:You can loop back the object, get the value corresponding to each key in the object, and then put the value into an array you define.

For example:

tipAttr: any = [];
$.each(, function(key, val) {
  (val);
  (val);
  return ;
  });

The above solution for *ngFor cannot loop the returned objects in angular4 is all the content I have shared with you. I hope you can give you a reference and I hope you can support me more.