feat(Form): formatter add rule param

This commit is contained in:
陈嘉涵
2020-02-23 19:58:37 +08:00
parent d878354ebf
commit aba946f20e
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -442,7 +442,7 @@ export default {
| validator `v2.5.3` | Custom validator | *(value, rule) => boolean \| Promise* |
| pattern `v2.5.3` | Regex pattern | *RegExp* |
| trigger `v2.5.2` | When to validate the formcan be set to `onChange``onBlur` | *string* |
| formatter `v2.5.3` | Format value before validate | *(value) => any* |
| formatter `v2.5.3` | Format value before validate | *(value, rule) => any* |
### Events