紧急修复2.7.0引入的table组件触发console报错的问题
issues:https://gitee.com/sentsim/layui/issues/I5E270
This commit is contained in:
parent
a608becd31
commit
eb8c9ce5c2
@ -1829,7 +1829,7 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){
|
|||||||
|
|
||||||
if(hide){
|
if(hide){
|
||||||
othis.find('.layui-table-grid-down').remove();
|
othis.find('.layui-table-grid-down').remove();
|
||||||
} else if(elemCell.prop('scrollWidth') > elemCell.outerWidth() || elemCell.find("br").size() > 0){
|
} else if(elemCell.prop('scrollWidth') > elemCell.outerWidth() || elemCell.find("br").length > 0){
|
||||||
if(elemCell.find('.'+ ELEM_GRID_DOWN)[0]) return;
|
if(elemCell.find('.'+ ELEM_GRID_DOWN)[0]) return;
|
||||||
othis.append('<div class="'+ ELEM_GRID_DOWN +'"><i class="layui-icon layui-icon-down"></i></div>');
|
othis.append('<div class="'+ ELEM_GRID_DOWN +'"><i class="layui-icon layui-icon-down"></i></div>');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user