|  |  | 
 |  |  |         } | 
 |  |  |     }; | 
 |  |  |  | 
 |  |  |     const handleSuccess = async (data) => { | 
 |  |  |         setOpen(false); | 
 |  |  |         notify('common.response.success'); | 
 |  |  |     }; | 
 |  |  |  | 
 |  |  |     const handleError = async (error) => { | 
 |  |  |         notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } }); | 
 |  |  |     }; | 
 |  |  |  | 
 |  |  |     return ( | 
 |  |  |         <> | 
 |  |  |             <CreateBase | 
 |  |  |                 record={{}} | 
 |  |  |                 transform={(data) => { | 
 |  |  |                     return data; | 
 |  |  |                 }} | 
 |  |  |                 mutationOptions={{ onSuccess: handleSuccess, onError: handleError }} | 
 |  |  |                 // record={{}} | 
 |  |  |                 // transform={(data) => { | 
 |  |  |                 //     console.log('success========>'); | 
 |  |  |  | 
 |  |  |                 //     return data; | 
 |  |  |                 // }} | 
 |  |  |                 // mutationOptions={{ onSuccess: handleSuccess, onError: handleError }} | 
 |  |  |             > | 
 |  |  |                 <Dialog | 
 |  |  |                     open={open} |