angualr8 循环对象

<div *ngFor="let item of object | keyvalue">
  {{item.key}}:{{item.value}}
</div>
原文地址:https://www.cnblogs.com/fpcing/p/11730928.html