2 Commits

  1. 2
      src/components/r-form/utils/index.tsx

2
src/components/r-form/utils/index.tsx

@ -72,7 +72,7 @@ export const transformAntdTableProColumns = (columns: ProColumns[], overwriteCol
return { return {
title: i.label || i[label || 'name'], title: i.label || i[label || 'name'],
label: i.label || i[label || 'name'], label: i.label || i[label || 'name'],
value: i.value || i[value || 'id'],
value: i.value ?? i[value || 'id'],
disabled, disabled,
data: i data: i
} }

Loading…
Cancel
Save