فهرست منبع

debug submit values

Ivan Galakhov 4 سال پیش
والد
کامیت
b2d1947d6f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dashboard/src/components/form-refactor/PorterFormContextProvider.tsx

+ 1 - 1
dashboard/src/components/form-refactor/PorterFormContextProvider.tsx

@@ -370,7 +370,7 @@ export const PorterFormContextProvider: React.FC<Props> = (props) => {
         })
       )
     );
-
+    if (props.doDebug) console.log(Object.assign.apply({}, varList));
     props.onSubmit(Object.assign.apply({}, varList));
   };