export const DatagridChildrenList = () => ( <List resource="t_geyao_person"> <Datagrid rowclick="edit"> <FullNameField source="name" label="data" /> <TextField source="id" /> <TextField source='name'></TextField> <TextField source='sex'></TextField> <TextField source='salary'></TextField> <BooleanField source='status'></BooleanField> </Datagrid> </List> );
<FullNameField source="name" label="data" />
label自定义 表头
FullNameField 组件自定义