-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update index.zh.md #6783
base: master
Are you sure you want to change the base?
Update index.zh.md #6783
Conversation
添加validateFields 第二个参数的文档注释
@@ -57,7 +57,7 @@ | |||
| setFieldValue | 设置对应字段名的值 | `(name: NamePath, value: any) => void` | | |||
| setFieldsValue | 设置表单的值(该值将直接传入 form store 中。如果你不希望传入对象被修改,请克隆后传入) | `(values) => void` | | |||
| submit | 提交表单,与点击 `submit` 按钮效果相同 | `() => void` | | |||
| validateFields | 触发表单验证 | `(nameList?: NamePath[]) => Promise` | | |||
| validateFields | 触发表单验证,设置 recursive 时会递归校验所有包含的路径 | `(nameList?: NamePath[], config?: {recursive: boolean}) => Promise` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
英文的也加一下?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
英文修改提交了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
放在一个 PR 里比较好。
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6783 +/- ##
=======================================
Coverage 92.72% 92.72%
=======================================
Files 335 335
Lines 7198 7198
Branches 1804 1792 -12
=======================================
Hits 6674 6674
Misses 489 489
Partials 35 35 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
添加validateFields 第二个参数的文档注释