mirror of
https://gitee.com/layui/layui.git
synced 2025-05-07 22:28:02 +08:00
修复数据表格在不启用分页的时候底边框缺失问题
This commit is contained in:
parent
eacf105827
commit
2d34df6445
@ -1668,7 +1668,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
|||||||
if(!height) return;
|
if(!height) return;
|
||||||
|
|
||||||
//减去列头区域的高度
|
//减去列头区域的高度
|
||||||
bodyHeight = parseFloat(height) - (that.layHeader.outerHeight() || 38); //此处的数字常量是为了防止容器处在隐藏区域无法获得高度的问题,暂时只对默认尺寸的表格做支持。
|
bodyHeight = parseFloat(height) - (that.layHeader.outerHeight() || 38) - 1; //此处的数字常量是为了防止容器处在隐藏区域无法获得高度的问题,暂时只对默认尺寸的表格做支持。
|
||||||
|
|
||||||
//减去工具栏的高度
|
//减去工具栏的高度
|
||||||
if(options.toolbar){
|
if(options.toolbar){
|
||||||
|
Loading…
Reference in New Issue
Block a user