mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
chore:格式调整
This commit is contained in:
parent
9cb4e61c94
commit
7084c071c2
@ -1683,10 +1683,14 @@ export class FormRenderer extends Form {
|
||||
super.componentWillUnmount();
|
||||
}
|
||||
|
||||
doAction(action: Action, data: object, throwErrors: boolean) {
|
||||
// 其它情况直接交给handleAction处理
|
||||
this.handleAction(undefined, action, data, throwErrors);
|
||||
doAction(
|
||||
action: Action,
|
||||
data: object = this.props.store.data,
|
||||
throwErrors: boolean = false
|
||||
) {
|
||||
return this.handleAction(undefined, action, data, throwErrors);
|
||||
}
|
||||
|
||||
handleAction(
|
||||
e: React.UIEvent<any> | undefined,
|
||||
action: Action,
|
||||
|
Loading…
Reference in New Issue
Block a user