Skip to content

Update index.zh.md - #6783

Open
ouba421 wants to merge 1 commit into
ant-design:masterfrom
ouba421:patch-1
Open

Update index.zh.md#6783
ouba421 wants to merge 1 commit into
ant-design:masterfrom
ouba421:patch-1

Conversation

@ouba421

@ouba421 ouba421 commented Nov 13, 2024

Copy link
Copy Markdown

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

添加validateFields 第二个参数的文档注释
@github-actions

github-actions Bot commented Nov 13, 2024

Copy link
Copy Markdown
Contributor

Preview failed

| setFieldsValue | 设置表单的值(该值将直接传入 form store 中。如果你不希望传入对象被修改,请克隆后传入) | `(values) => void` |
| submit | 提交表单,与点击 `submit` 按钮效果相同 | `() => void` |
| validateFields | 触发表单验证 | `(nameList?: NamePath[]) => Promise` |
| validateFields | 触发表单验证,设置 recursive 时会递归校验所有包含的路径 | `(nameList?: NamePath[], config?: {recursive: boolean}) => Promise` |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

英文的也加一下?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

英文修改提交了

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

放在一个 PR 里比较好。

@codecov

codecov Bot commented Nov 20, 2024

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.72%. Comparing base (495be63) to head (957df30).
⚠️ Report is 89 commits behind head on master.

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@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