diff --git a/types/form.d.ts b/types/form.d.ts index 4d5859ef7..df0742623 100644 --- a/types/form.d.ts +++ b/types/form.d.ts @@ -6,4 +6,6 @@ export class Form extends VanComponent { validate(name?: string): Promise; resetValidation(name?: string): void; + + scrollToField(name: string): void; }