Angular 在角坐标系中填充模态形式
我使用ngFor生成我创建的数据,我希望模态表单中的数据针对每个元素进行更改,但当我单击任何元素时,只会显示页面中第一个元素的数据。我如何更改这是我的代码:Angular 在角坐标系中填充模态形式,angular,typescript,bootstrap-modal,Angular,Typescript,Bootstrap Modal,我使用ngFor生成我创建的数据,我希望模态表单中的数据针对每个元素进行更改,但当我单击任何元素时,只会显示页面中第一个元素的数据。我如何更改这是我的代码: 单位详情 &时代; 项目:{{prop.Project}} 单位名称:{{prop.Unit_Name}} 单位使用:{{prop.Unit\u Usage}} 国家:{{prop.Country}} 单位:{{prop.Unit_for}} 整理:{{prop.Finishing}} 属性类型:{{prop.Property_type
单位详情
&时代;
项目:{{prop.Project}}
单位名称:{{prop.Unit_Name}}
单位使用:{{prop.Unit\u Usage}}
国家:{{prop.Country}}
单位:{{prop.Unit_for}}
整理:{{prop.Finishing}}
属性类型:{{prop.Property_type}}
城市:{{prop.City}}
地区:{{prop.District}}
最小面积:{{prop.minu Area}}
起始价格:{{prop.Starting_Price}}
{{prop.property{u type}
{{{prop.developer}}
{{prop.district}
有一个标签没有开头标签
<div class="alert-msg">
</div>
</form> <----Remove this
</div>
<div class="alert-msg">
</div>
</form> <----Remove this
</div>
<div class="col-lg-12" *ngFor="let prop of properties">