mirror of
https://gitee.com/layui/layui.git
synced 2025-12-26 22:25:48 +08:00
修复 table 多级表头在某些缩放比例的情况下出现表头跟表体错位问题
This commit is contained in:
@@ -686,7 +686,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
||||
});
|
||||
|
||||
// 给组合表头赋值最大宽度
|
||||
if(maxWidth) othis.css('max-width', maxWidth);
|
||||
if(maxWidth) othis.css('max-width', maxWidth - 1);
|
||||
|
||||
// 若当前活动的组合表头仍存在上级,则继续向上设置
|
||||
if(th && othis.parent().data('parentkey')){
|
||||
|
||||
Reference in New Issue
Block a user