Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update index.zh.md #6783

wants to merge 1 commit into from

Conversation

ouba421
Copy link

@ouba421 ouba421 commented Nov 13, 2024

添加validateFields 第二个参数的文档注释

添加validateFields 第二个参数的文档注释
Copy link
Contributor

github-actions bot commented Nov 13, 2024

Preview failed

@@ -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` |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

英文的也加一下?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

英文修改提交了

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

放在一个 PR 里比较好。

Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.72%. Comparing base (495be63) to head (957df30).

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.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@zombieJ zombieJ mentioned this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants