import { FunctionField } from 'react-admin';
<FunctionField label="Name" render={record =>
`${record.first_name} ${record.last_name}`} />
render函数渲染
import { FunctionField } from 'react-admin';
<FunctionField label="Name" render={record =>
`${record.first_name} ${record.last_name}`} />
render函数渲染