From 4f2f139c1d2b73dab0b31502c9e64e992d89a39b Mon Sep 17 00:00:00 2001 From: "liquanwei.lqw" Date: Mon, 18 Nov 2024 11:24:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20table=E7=BB=A7=E6=89=BF=E5=A4=96?= =?UTF-8?q?=E9=83=A8=E7=9A=84valueTypeMap=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/table/src/Table.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/table/src/Table.tsx b/packages/table/src/Table.tsx index d878fd10cfcc..251a96f83fe3 100644 --- a/packages/table/src/Table.tsx +++ b/packages/table/src/Table.tsx @@ -1,7 +1,7 @@ import ProCard from '@ant-design/pro-card'; import ProForm, { GridContext } from '@ant-design/pro-form'; import type { ParamsType } from '@ant-design/pro-provider'; -import { ProConfigProvider, proTheme, useIntl } from '@ant-design/pro-provider'; +import ProConfigContext, { ProConfigProvider, proTheme, useIntl } from '@ant-design/pro-provider'; import { ErrorBoundary, editableRowByKey, @@ -1020,9 +1020,10 @@ const ProviderTableContainer = < ? React.Fragment : props.ErrorBoundary || ErrorBoundary; + const context = useContext(ProConfigContext); return ( - + defaultClassName={`${getPrefixCls('pro-table')}`}