报错信息:
warning: Instance created by useForm
is not connected to any Form element. Forget to pass form
prop?
解决:
在Modal上加属性:
forceRender={true}
destroyOnClose={false}
参考链接: https://github.com/ant-design/ant-design/issues/21543
报错信息:
warning: Instance created by useForm
is not connected to any Form element. Forget to pass form
prop?
解决:
在Modal上加属性:
forceRender={true}
destroyOnClose={false}
参考链接: https://github.com/ant-design/ant-design/issues/21543