Skip to content

同一个弹框中有两个form表单,修改操作时setFieldsValue只能声明一次,要怎么能解决? #3980

Answered by likui628
Wangxxz asked this question in Q&A
Discussion options

You must be logged in to vote
<BasicForm @register="registerProjectForm" />
<BasicForm @register="registerGroup" />

const [registerProjectForm, { getFieldsValue, validate, setFieldsValue, resetFields, updateSchema }] = useForm();

const [registerGroup, { setFieldsValue:setFieldsValueGroup, }] = useForm(); 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by likui628
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants