基础数据之机场修改优化和各模块表格对齐修改
This commit is contained in:
@@ -293,7 +293,7 @@ export class MainComponent implements OnInit {
|
||||
setWidth(isLast) {
|
||||
if (isLast) {
|
||||
$(".table-body tbody>tr").eq(0).find('td').each((index, element) => {
|
||||
$(".table-head table thead tr").eq(0).find('th').eq(index).attr('width', $(element).innerWidth() + 'px');
|
||||
$(".table-head table thead tr").eq(0).find('th').eq(index).attr('width', $(element).outerWidth() + 'px');
|
||||
})
|
||||
if (this.tableBody.nativeElement.scrollHeight <= (this.tableBody.nativeElement.innerHeight || this.tableBody.nativeElement.clientHeight)) {
|
||||
this.tableHead.nativeElement.style.overflowY = 'auto';
|
||||
|
||||
Reference in New Issue
Block a user