feat(Form): add validateField method

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