feat(Form): improve validate、validateField method

This commit is contained in:
陈嘉涵
2020-02-13 15:36:28 +08:00
parent b4d117f59d
commit 7b200d0053
3 changed files with 12 additions and 10 deletions
+2 -3
View File
@@ -420,9 +420,8 @@ Use [ref](https://vuejs.org/v2/api/#ref) to get Form instance and call instance
| Name | Description | Attribute | Return value |
|------|------|------|------|
| validate | Validate all fields | - | *Promise* |
| validateField | Validate a filed | *name: string* | *Promise* |
| resetValidation | Reset all validation | - | - |
| validate | Validate form | *name?: string* | *Promise* |
| resetValidation | Reset validation | *name?: string* | - |
### Slots