mirror of https://gitee.com/y_project/RuoYi.git
优化树表格align属性在标题生效(I9FVBJ)
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;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue