docs(form): update link (#50401)

pull/50404/head
cnjs 5 months ago committed by GitHub
parent 51d6a9bf38
commit 533d621950
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -189,7 +189,7 @@ related issue: [#34500](https://github.com/ant-design/ant-design/issues/34500)
</Form.Item>
```
You can ref [example](#form-demo-horizontal-login) to see detail.
You can ref [example](#form-demo-inline-login) to see detail.
When `shouldUpdate` is a function, it will be called by form values update. Providing original values and current value to compare. This is very helpful for rendering additional fields based on values:

@ -190,7 +190,7 @@ Form 通过增量更新方式,只更新被修改的字段相关组件以达到
</Form.Item>
```
你可以参考[示例](#form-demo-horizontal-login)查看具体使用场景。
你可以参考[示例](#form-demo-inline-login)查看具体使用场景。
`shouldUpdate` 为方法时,表单的每次数值更新都会调用该方法,提供原先的值与当前的值以供你比较是否需要更新。这对于是否根据值来渲染额外字段十分有帮助:

Loading…
Cancel
Save