Angular 下拉框在角度上受到挤压
在上图中,1st是下拉列表的实际行为 间歇性地,下拉框会被挤压,但我可以在下拉框中看到数据,但数据不会可见,这不是每次加载页面时都会发生的。有一段时间页面加载会很好,它会很好地工作 以下是代码片段Angular 下拉框在角度上受到挤压,angular,Angular,在上图中,1st是下拉列表的实际行为 间歇性地,下拉框会被挤压,但我可以在下拉框中看到数据,但数据不会可见,这不是每次加载页面时都会发生的。有一段时间页面加载会很好,它会很好地工作 以下是代码片段 <ng-container matColumnDef="customerName"> <th mat-header-cell *matHeaderCellDef> Customer </th>
<ng-container matColumnDef="customerName">
<th mat-header-cell *matHeaderCellDef> Customer </th>
<td mat-cell *matCellDef="let element">
<div class="padding_bottom_10 padding_top_13"> {{ element.customerName }}</div>
</td>
</ng-container>
<ng-container matColumnDef="supplierName">
<th mat-header-cell *matHeaderCellDef> Supplier </th>
<td mat-cell *matCellDef="let element">
<div class="padding_bottom_10 padding_top_13"> {{ element.supplierName }}</div>
</td>
</ng-container>
顾客
{{element.customerName}
供应商
{{element.supplierName}
你知道为什么会发生这种事吗
是否有任何css,我需要申请来解决这个问题。
我们需要用角度分量来控制什么?
提前谢谢