浏览代码

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 () => {