From fb4f92dbb1f1242844082cbc5b55154cdec553a7 Mon Sep 17 00:00:00 2001 From: zhanghuitao Date: Wed, 26 Jun 2024 00:23:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=20v4=20=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BF=AE=E5=A4=8D=E6=A0=91=E5=BD=A2=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E9=85=8D=E7=BD=AE=20transform:=20true=20=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=89=A7=E8=A1=8C=20cacheSourceMap=20=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E6=B2=A1=E6=9C=89=E5=B0=86=E5=AD=90=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E6=94=BE=E5=85=A5=E5=88=B0=20sourceDataRowIdData=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/table/src/methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/table/src/methods.js b/packages/table/src/methods.js index 63098f8a7..a752f94e3 100644 --- a/packages/table/src/methods.js +++ b/packages/table/src/methods.js @@ -685,7 +685,7 @@ const Methods = { } } // 源数据缓存 - if (treeConfig && !treeOpts.transform) { + if (treeConfig) { const childrenField = treeOpts.children || treeOpts.childrenField XEUtils.eachTree(sourceData, handleSourceRow, { children: treeOpts.transform ? treeOpts.mapChildrenField : childrenField }) } else {