Jelajahi Sumber

fix(protocol): fix protocol deploy

Lind 4 tahun lalu
induk
melakukan
a12c6b478b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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 () => {