Form
Props
: { afterSubmit
?: ((context
: any) => Promise<any>); beforeSubmit
?: ((context
: any) => Promise<any>); col
?: ColProps; display
?: "flex" | "grid"; doReset
?: (() => Promise<any>); doSubmit
?: ((context
: any) => Promise<any>); group
?: FormGroupProps; prefixRender
?: ((scope
: any) => any); suffixRender
?: ((scope
: any) => any); valueChange
?: ((context
: any) => void | { handle
?: ((context
: any) => void); immediate
?: boolean; }); wrapper
?: FormWrapperProps; [key:
string]
: any; }
Type declaration
-
[key: string]: any
-
Optional
afterSubmit?: ((context: any) => Promise<any>)
-
- (context: any): Promise<any>
-
Returns Promise<any>
-
Optional
beforeSubmit?: ((context: any) => Promise<any>)
-
- (context: any): Promise<any>
-
Returns Promise<any>
-
-
Optional
display?: "flex" | "grid"
-
Optional
doReset?: (() => Promise<any>)
-
- (): Promise<any>
-
Returns Promise<any>
-
Optional
doSubmit?: ((context: any) => Promise<any>)
-
- (context: any): Promise<any>
-
Returns Promise<any>
-
-
Optional
prefixRender?: ((scope: any) => any)
-
- (scope: any): any
-
Returns any
-
Optional
suffixRender?: ((scope: any) => any)
-
- (scope: any): any
-
Returns any
-
Optional
valueChange?: ((context: any) => void | {
handle?: ((context: any) => void);
immediate?: boolean;
})
-
- (context: any): void | {
handle?: ((context: any) => void);
immediate?: boolean;
}
-
Returns void | {
handle?: ((context: any) => void);
immediate?: boolean;
}
-
表单配置