|  |  | 
 |  |  |             setOpen(false); | 
 |  |  |         } | 
 |  |  |     }; | 
 |  |  |     const {data, isPending, } = useGetOne('dictData', {id: record?.id}); | 
 |  |  |     if (data == null || data == undefined) {return} | 
 |  |  |     const { data, isPending, } = useGetOne('dictData', { id: record?.id }); | 
 |  |  |     if (data == null || data == undefined) { return } | 
 |  |  |     return ( | 
 |  |  |         <> | 
 |  |  |             <Edit | 
 |  |  | 
 |  |  |                                         /> | 
 |  |  |                                     </Stack> | 
 |  |  |                                     <Stack direction='row' gap={2}> | 
 |  |  |                                         <TextInput | 
 |  |  |                                             label="table.field.dictData.group" | 
 |  |  |                                             source="group" | 
 |  |  |                                             validate={required()} | 
 |  |  |                                             parse={v => v} | 
 |  |  |                                         /> | 
 |  |  |                                     </Stack> | 
 |  |  |                                     <Stack direction='row' gap={2}> | 
 |  |  |                                         <NumberInput | 
 |  |  |                                             label="table.field.dictData.sort" | 
 |  |  |                                             source="sort" |