got response good, but table shows like only lines instead of data [closed]
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 hours ago.
Improve this questionI got respose.log(list) good, but in view, table shows lines only
<table mat-table [dataSource]="heroList" class="mat-elevation-z8">
<!-- Position Column 开发者_如何学C-->
<ng-container matColumnDef="Id">
<th mat-header-cell *matHeaderCellDef> Id. </th>
<td mat-cell *matCellDef="let element"> {{element.Id}} </td>
</ng-container>
pls find
精彩评论