From 0a08d449f6868f68341c6ff89369bbcb1bbe7e7b Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Sun, 4 Jun 2023 13:36:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20table=20hideCol=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E7=AC=AC=E4=BA=8C=E4=B8=AA=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=B8=BA=E5=AF=B9=E8=B1=A1=E6=97=B6=E6=97=A0=E6=95=88=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/table.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/table.js b/src/modules/table.js index 4a2be031..7be79f77 100644 --- a/src/modules/table.js +++ b/src/modules/table.js @@ -2817,6 +2817,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){ } }) } else { + cols = layui.isArray(cols) ? cols : [cols]; layui.each(cols, function (i1, item1) { that.eachCols(function (i2, item2) { if (item1.field === item2.field) {