[Solution found!] 对于Angular 6.1+,您可以使用默认管道keyvalue(也可以进行回顾和支持): <ul> <li *ngFor="let recipient of map | keyvalue"> ...
確定! 回上一頁