From ce4696b52907329d599a999cd0f5c4f20bf4b502 Mon Sep 17 00:00:00 2001 From: morning-star <26325820+Sight-wcg@users.noreply.github.com> Date: Sun, 31 Dec 2023 23:27:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(table):=20=E9=9D=9E=E5=B8=B8=E8=A7=84?= =?UTF-8?q?=E5=88=97=E8=AE=BE=E7=BD=AE=20`field`=20=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=20excel=20=E5=90=88=E8=AE=A1=E8=A1=8C?= =?UTF-8?q?=E9=94=99=E4=BD=8D=20(#1522)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/table.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/table.js b/src/modules/table.js index adc1a592..72e5cc8b 100644 --- a/src/modules/table.js +++ b/src/modules/table.js @@ -2967,6 +2967,9 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){ // 插入内容 vals.push(content); + }else if(item3.field && item3.type !== 'normal'){ + // https://gitee.com/layui/layui/issues/I8PHCR + if(i1 == 0) fieldsIsHide[item3.field] = true; } }); }