useEffect(() => form.resetFields(), [initialValues])
I had the same problem, sometimes the initialValues
are empty, and I need to fetch the initialValues
form a remote server.
I‘ve fixed it in this way
原文:https://www.cnblogs.com/winyh/p/14351791.html