|
|
|
@ -1720,7 +1720,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
|
|
|
|
// 固定列区域高度
|
|
|
|
|
var mainHeight = that.layMain.height(); |
|
|
|
|
var fixHeight = mainHeight - scollHeight; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
that.layFixed.find(ELEM_BODY).css( |
|
|
|
|
'height',
|
|
|
|
|
layMainTable.height() >= fixHeight ? fixHeight : 'auto' |
|
|
|
@ -1728,7 +1728,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
|
|
|
|
|
|
|
|
|
// 表格宽度小于容器宽度时,隐藏固定列
|
|
|
|
|
that.layFixRight[ |
|
|
|
|
table.cache[that.key].length && outWidth > 0
|
|
|
|
|
(table.cache[that.key] && table.cache[that.key].length) && outWidth > 0
|
|
|
|
|
? 'removeClass'
|
|
|
|
|
: 'addClass' |
|
|
|
|
](HIDE); |
|
|
|
|