From 1e5f4942c8466a0f2e4c85d08be4e0e7fb572d93 Mon Sep 17 00:00:00 2001 From: feely Date: Fri, 27 Oct 2023 16:08:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20table=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=8F=90=E5=89=8D=E6=98=A0=E5=B0=84=E4=BA=86=20lable,?= =?UTF-8?q?=20=E5=AF=BC=E8=87=B4=20label=20=E4=BD=BF=E7=94=A8=20=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=AE=B9=E5=99=A8=E6=95=B0=E6=8D=AE=E6=97=B6=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=AD=A3=E7=A1=AE=E8=8E=B7=E5=8F=96=E5=88=B0=E5=80=BC?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#8056)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-core/src/store/table.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/amis-core/src/store/table.ts b/packages/amis-core/src/store/table.ts index 42b354875..8d5f9f0a4 100644 --- a/packages/amis-core/src/store/table.ts +++ b/packages/amis-core/src/store/table.ts @@ -1113,10 +1113,7 @@ export const TableStore = iRendererStore pristine: item.pristine || item, toggled: item.toggled !== false, breakpoint: item.breakpoint, - /** 提前映射变量,方便后续view中使用 */ - label: isPureVariable(item.label) - ? resolveVariableAndFilter(item.label, self.data) - : item.label + isPrimary: index === PARTITION_INDEX }; });