feat(Form): add validateField method
This commit is contained in:
@@ -452,7 +452,8 @@ export default {
|
||||
|
||||
| 方法名 | 说明 | 参数 | 返回值 |
|
||||
|------|------|------|------|
|
||||
| validate | 触发表单验证 | - | *Promise\<void\>* |
|
||||
| validate | 验证所有表单项,返回 Promise,验证不通过时 reject | - | *Promise* |
|
||||
| validateField | 验证单个表单项,返回 Promise,验证不通过时 reject | *name: string* | *Promise* |
|
||||
| resetValidation | 重置所有表单验证提示 | - | - |
|
||||
|
||||
### Slots
|
||||
|
||||
Reference in New Issue
Block a user