Ver código fonte

fix(protocol): fix protocol deploy

Lind 4 anos atrás
pai
commit
a12c6b478b
1 arquivos alterados com 1 adições e 1 exclusões
  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 () => {