feat(Form): improve validate、validateField method
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user