From 76681ccd59d94d0146997edc7481f6460a72ab79 Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Tue, 17 Sep 2019 19:37:12 +0800 Subject: [PATCH] =?UTF-8?q?form=20=E6=8F=90=E4=BA=A4api=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20sendOn=20=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/Form/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/Form/index.tsx b/src/renderers/Form/index.tsx index 59064f22c..1672a39ef 100644 --- a/src/renderers/Form/index.tsx +++ b/src/renderers/Form/index.tsx @@ -506,7 +506,7 @@ export default class Form extends React.Component { store.openDialog(data); } else if (action.actionType === 'drawer') { store.openDrawer(data); - } else if (action.api || api) { + } else if (isEffectiveApi(action.api || api, values)) { let finnalAsyncApi = action.asyncApi || asyncApi; isEffectiveApi(finnalAsyncApi, store.data) &&