feat(Form): support valdiate multiple names (#7810)

This commit is contained in:
neverland
2020-12-24 20:11:22 +08:00
committed by GitHub
parent f5281f1e7e
commit d92d29c885
5 changed files with 49 additions and 21 deletions
+1 -1
View File
@@ -472,7 +472,7 @@ Use [ref](https://vuejs.org/v2/api/#ref) to get Form instance and call instance
| Name | Description | Attribute | Return value |
| --- | --- | --- | --- |
| submit | Submit form | - | - |
| validate | Validate form | _name?: string_ | _Promise_ |
| validate | Validate form | _name?: string \| string[]_ | _Promise_ |
| resetValidation | Reset validation | _name?: string_ | - |
| scrollToField `v2.8.3` | Scroll to field | _name: string, alignToTop: boolean_ | - |