Explorar o código

fix(protocol): fix protocol deploy

Lind %!s(int64=4) %!d(string=hai) anos
pai
achega
a12c6b478b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/BaseCrud/save/index.tsx

+ 1 - 1
src/components/BaseCrud/save/index.tsx

@@ -135,7 +135,7 @@ const Save = <T extends Record<string, any>>(props: Props<T>) => {
       if (!callback) return;
       await save();
       if (typeof callback === 'function') {
-        callback(form);
+        callback(form.values);
       }
     });
     return () => {