mirror of https://github.com/layui/layui
修复 table 当 `page` 未开启且 `totalRow` 开启时,页脚出现双底线的问题
parent
758b795068
commit
4e120efe29
|
@ -1674,8 +1674,10 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
|||
|
||||
if(!height) return;
|
||||
|
||||
//减去列头区域的高度
|
||||
bodyHeight = parseFloat(height) - (that.layHeader.outerHeight() || 38) - 1; //此处的数字常量是为了防止容器处在隐藏区域无法获得高度的问题,暂时只对默认尺寸的表格做支持。
|
||||
// 减去列头区域的高度 --- 此处的数字常量是为了防止容器处在隐藏区域无法获得高度的问题,暂时只对默认尺寸的表格做支持。
|
||||
bodyHeight = parseFloat(height) - (that.layHeader.outerHeight() || 38) - (
|
||||
options.page ? 1 : 0
|
||||
);
|
||||
|
||||
// 减去工具栏的高度
|
||||
if(options.toolbar){
|
||||
|
|
Loading…
Reference in New Issue