问题描述
我需要将父循环的键传递给另一个数组。但它不起作用。下面是我的代码
MirrorMakerMessageHandler
contact_settings_title 是另一个数组
<div *ngFor="let con_settings of contact_settings | keyvalue">
<h5 class="mt-0 task-header header-title">{{contact_settings_title.key}}</h5>
</div>
解决方法
<div *ngFor="let con_settings of contact_settings | keyvalue">
<h5 class="mt-0 task-header header-title">{{ contact_settings_title[key] }}</h5>
</div>