From 4ff2a10848d0f59fad3ac91826c68bc67a2655b9 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 15 Mar 2019 22:56:22 +0800 Subject: [PATCH] style: prettier --- site/index.less | 2 +- types/form/form.d.ts | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/site/index.less b/site/index.less index fbd4bffe4..8de351175 100644 --- a/site/index.less +++ b/site/index.less @@ -120,7 +120,7 @@ display: none; } } -.snd-ad{ +.snd-ad { padding-bottom: 10px; } .sponsorsWrap { diff --git a/types/form/form.d.ts b/types/form/form.d.ts index 0cb3cff10..f3051cf76 100644 --- a/types/form/form.d.ts +++ b/types/form/form.d.ts @@ -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)