mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
form 提交api 添加 sendOn 判断
This commit is contained in:
parent
5c1fd15204
commit
76681ccd59
@ -506,7 +506,7 @@ export default class Form extends React.Component<FormProps, object> {
|
||||
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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user