mirror of https://github.com/layui/layui
commit
602bddd07e
|
@ -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