From af5fbee0524bbc043f09d67b235e1dfdf3554766 Mon Sep 17 00:00:00 2001 From: dark Date: Thu, 5 Sep 2024 22:52:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drequest=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=9A=84=E5=80=BC=E4=B8=AD=E6=9C=890?= =?UTF-8?q?=E7=9A=84=E6=83=85=E5=86=B5=EF=BC=8C=E5=80=BC=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/r-form/utils/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/r-form/utils/index.tsx b/src/components/r-form/utils/index.tsx index d96665b..fe09b6f 100644 --- a/src/components/r-form/utils/index.tsx +++ b/src/components/r-form/utils/index.tsx @@ -72,7 +72,7 @@ export const transformAntdTableProColumns = (columns: ProColumns[], overwriteCol return { title: i.label || i[label || 'name'], label: i.label || i[label || 'name'], - value: i.value || i[value || 'id'], + value: i.value ?? i[value || 'id'], disabled, data: i }