Quellcode durchsuchen

fix(protocol): fix protocol deploy

Lind vor 3 Jahren
Ursprung
Commit
a12c6b478b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 () => {