feat(commonTable): adjust column's width

This commit is contained in:
禾几海
2020-08-28 11:35:29 +08:00
parent 449adc4cee
commit 990548b8d5

View File

@@ -24,7 +24,7 @@
<thead> <thead>
<tr> <tr>
<ng-container *ngFor="let data of filedData"> <ng-container *ngFor="let data of filedData">
<th *ngIf="data.show"> <th *ngIf="data.show" [nzWidth]="data.isActionColumns?data.action.length*80+'px':null">
{{data.title}} {{data.title}}
</th> </th>
</ng-container> </ng-container>