소스 검색

fix(protocol): fix protocol deploy

Lind 4 년 전
부모
커밋
a12c6b478b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 () => {