We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如果组件有初始值:
initialValues = { test: { op: { name: 1, code: 2, }, } 执行 setFieldsValue({ op: { name: 33, }, }) 得到的结果为 test: { op: { name: 1, code: 33, }, } 执行 setFieldValue('op', { name: 33, }) 得到的结果为 test: { op: { code: 33, }, }
The text was updated successfully, but these errors were encountered:
setFieldsValue 会把对象进行合并
Sorry, something went wrong.
No branches or pull requests
如果组件有初始值:
The text was updated successfully, but these errors were encountered: