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 }