antd记录:Warning: Instance created by useForm
is not connected to any Form element. Forget to pass form
prop?
Modal内渲染form,在触发submit时报错。
错误
文章图片
解决方案:
【Warning: Instance created by `useForm` is not connected to】Form添加属性 form={form}