Authored by ww

fix: 表格高度优化还原

... ... @@ -327,16 +327,18 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util', 'sessions', 'common'
delete options.page.elem;
delete options.page.jump;
}
if(options.limit == 10){
options.limit = 20;
}
options.limits = [20,50,100,200];
if (!options.elem[0]) return that;
//高度铺满:full-差距值
// if (options.height && /^full-\d+$/.test(options.height)) {
// that.fullHeightGap = options.height.split('-')[1];
// options.height = _WIN.height() - that.fullHeightGap;
// }
that.fullHeightGap = 100;
if (options.height && /^full-\d+$/.test(options.height)) {
that.fullHeightGap = options.height.split('-')[1];
options.height = _WIN.height() - that.fullHeightGap;
}
//初始化一些参数
that.setInit();
... ...