From eb8c9ce5c265798ba5bdbce7d3c132a85d5fc867 Mon Sep 17 00:00:00 2001 From: Allen Date: Fri, 24 Jun 2022 21:46:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A7=E6=80=A5=E4=BF=AE=E5=A4=8D2.7.0?= =?UTF-8?q?=E5=BC=95=E5=85=A5=E7=9A=84table=E7=BB=84=E4=BB=B6=E8=A7=A6?= =?UTF-8?q?=E5=8F=91console=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit issues:https://gitee.com/sentsim/layui/issues/I5E270 --- src/modules/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/table.js b/src/modules/table.js index 1e6b11e..e0ba81b 100644 --- a/src/modules/table.js +++ b/src/modules/table.js @@ -1829,7 +1829,7 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){ if(hide){ 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; othis.append('
'); }