style: prettier

This commit is contained in:
tangjinzhou 2019-03-15 22:56:22 +08:00
parent 72202591a5
commit 4ff2a10848
2 changed files with 11 additions and 4 deletions

View File

@ -120,7 +120,7 @@
display: none;
}
}
.snd-ad{
.snd-ad {
padding-bottom: 10px;
}
.sponsorsWrap {

13
types/form/form.d.ts vendored
View File

@ -261,7 +261,11 @@ export interface WrappedFormUtils {
* If you don't specify the parameter of fieldNames, you will validate all fields.
* @type Function
*/
validateFields(fieldNames: string[], options: ValidateFieldOptions, callback: ValidateCallback): void;
validateFields(
fieldNames: string[],
options: ValidateFieldOptions,
callback: ValidateCallback,
): void;
validateFields(fieldNames: string[], callback: ValidateCallback): void;
validateFields(options: ValidateFieldOptions, callback: ValidateCallback): void;
validateFields(callback: ValidateCallback): void;
@ -272,14 +276,17 @@ export interface WrappedFormUtils {
* form will be automatically scrolled to the target field area.
* @type Function
*/
validateFieldsAndScroll(fieldNames?: string[], options?: Object, callback?: ValidateCallback): void;
validateFieldsAndScroll(
fieldNames?: string[],
options?: Object,
callback?: ValidateCallback,
): void;
validateFieldsAndScroll(fieldNames?: string[], callback?: ValidateCallback): void;
validateFieldsAndScroll(options?: Object, callback?: ValidateCallback): void;
validateFieldsAndScroll(callback?: ValidateCallback): void;
validateFieldsAndScroll(): void;
}
export interface IformCreateOption {
/**
* Only supports the use of Form.create({})(CustomizedForm). declare props on form(like vue props)