mirror of https://github.com/layui/layui
fix(table): 关闭展开状态时,未重置单元格滚动条位置 (#1536)
* fix(table): 关闭展开状态时,未重置滚动条水平位置 * update codepull/1550/head
parent
2a1bb0e985
commit
232a959855
|
@ -2585,6 +2585,9 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
|||
});
|
||||
});
|
||||
$this.remove();
|
||||
// 重置单元格滚动条位置
|
||||
elemCell.scrollTop(0);
|
||||
elemCell.scrollLeft(0);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue