优化树表格align属性在标题生效(I9FVBJ)

pull/485/MERGE
RuoYi 7 months ago
parent f5805fd79e
commit f31e6bd1bb

@ -131,6 +131,9 @@
$th = $('<th style="width:36px"></th>');
} else {
$th = $('<th style="' + ((column.width) ? ('width:' + column.width + ((column.widthUnit) ? column.widthUnit : 'px')) : '') + '" class="' + column.field + '_cls"></th>');
if (column.align) {
$th.css("text-align", column.align);
}
}
if((!target.isFixWidth)&& column.width){
target.isFixWidth = column.width.indexOf("px")>-1?true:false;

Loading…
Cancel
Save