|
@ -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 |
|
|
} |
|
|
} |
|
|