mirror of https://github.com/layui/layui
修复table有固定列的复杂表头,筛选列之后出现的固定列高度跟本体不一致的问题;table字段配置新增fieldTitle属性用于筛选列和导出的时候自定义表头信息。
parent
751c5cbe7b
commit
f317a8ffc5
|
@ -1551,7 +1551,6 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
||||||
that.elem.css("height", height);
|
that.elem.css("height", height);
|
||||||
}
|
}
|
||||||
|
|
||||||
// debugger;
|
|
||||||
// 如果多级表头,则填补表头高度
|
// 如果多级表头,则填补表头高度
|
||||||
if(options.cols.length > 1){
|
if(options.cols.length > 1){
|
||||||
// 补全高度
|
// 补全高度
|
||||||
|
@ -1726,7 +1725,6 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
||||||
](HIDE);
|
](HIDE);
|
||||||
|
|
||||||
// 根据列的显示隐藏,同步多级表头的父级相关属性值
|
// 根据列的显示隐藏,同步多级表头的父级相关属性值
|
||||||
debugger;
|
|
||||||
if(hide != col.hide){
|
if(hide != col.hide){
|
||||||
that.setParentCol(!checked, parentKey);
|
that.setParentCol(!checked, parentKey);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue