Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Mar 15, 2019
1 parent 7220259 commit 4ff2a10
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion site/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
display: none;
}
}
.snd-ad{
.snd-ad {
padding-bottom: 10px;
}
.sponsorsWrap {
Expand Down
13 changes: 10 additions & 3 deletions types/form/form.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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)
Expand Down

0 comments on commit 4ff2a10

Please sign in to comment.