mirror of https://gitee.com/karson/fastadmin.git
优化列表固定宽度功能
parent
b277d31c60
commit
ebb5d34414
|
|
@ -291,7 +291,8 @@
|
|||
_initHeader.apply(this, Array.prototype.slice.apply(arguments));
|
||||
this.$header.find('th[data-field]').each(function (i) {
|
||||
var column = $(this).data();
|
||||
if (typeof column['width'] !== 'undefined') {
|
||||
if (typeof column['width'] !== 'undefined' && column['width'].toString().indexOf("%") === -1) {
|
||||
$(".th-inner", this).outerWidth(column['width']);
|
||||
$(this).css("max-width", column['width']);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue