mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-16 01:40:53 +08:00
修复弹框中表单提交后不刷新CRUD
This commit is contained in:
parent
32e1d49cf9
commit
1c71edc122
@ -658,11 +658,11 @@ export default class Form extends React.Component<FormProps, object> {
|
||||
}
|
||||
}
|
||||
|
||||
return values;
|
||||
// return values;
|
||||
});
|
||||
}
|
||||
|
||||
return Promise.resolve(values);
|
||||
return Promise.resolve(null);
|
||||
})
|
||||
.then(values => {
|
||||
// 有可能 onSubmit return false 了,那么后面的就不应该再执行了。
|
||||
|
Loading…
Reference in New Issue
Block a user