mirror of
https://gitee.com/layui/layui.git
synced 2025-12-21 10:59:54 +08:00
fix(table): 优化单元格展开按钮的显示判断 (#1728)
This commit is contained in:
@@ -2544,7 +2544,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
|
|||||||
if(hide){
|
if(hide){
|
||||||
othis.find('.layui-table-grid-down').remove();
|
othis.find('.layui-table-grid-down').remove();
|
||||||
} else if((
|
} else if((
|
||||||
elemCell.prop('scrollWidth') > elemCell.outerWidth() ||
|
elemCell.prop('scrollWidth') > elemCell.prop('clientWidth') ||
|
||||||
elemCell.find("br").length > 0
|
elemCell.find("br").length > 0
|
||||||
) && !options.lineStyle){
|
) && !options.lineStyle){
|
||||||
if(elemCell.find('.'+ ELEM_GRID_DOWN)[0]) return;
|
if(elemCell.find('.'+ ELEM_GRID_DOWN)[0]) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user