开发者

got response good, but table shows like only lines instead of data [closed]

开发者 https://www.devze.com 2022-12-07 20:00 出处:网络
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post.
Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 4 hours ago.

Improve this question

I 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

0

精彩评论

暂无评论...
验证码 换一张
取 消