更新时间:2022-11-02 22:13:37
尝试使用mat-cell而不是mat-column
mat-cell
mat-column
mat-cell:nth-child(even){ background-color:#f2f4f7; } mat-cell:nth-child(odd){ background-color:none; }
如何为角度的备用列添加背景颜色
如何为现有表格添加列