The problems encountered in the project, dealt with for a few hours, dark to dawn, read a lot of documents and then the pit got bigger and bigger, no more complaining, now to the point:

So first I have an ANTD modal, and the parent component calls it, and then MODAL has a select drop-down box, and then I set a default value for SELECT,

And then, this value, I can update it the first time I load it, like Mobo, and then I hit close, hit another button, call the same Modal but the data is different,

If antD is not updated, the default value of antD is invalid. If antD is not updated, the default value of antD is invalid. If antD is not updated, the default value of ANTD is invalid, and the answer is “onchange plus value”. After selecting the drop-down box, I went to the props of other places to update the drop-down box, and the drop-down box was updated to the original value, which was very large. Later, I looked at the MODAL API carefully, and found that there was a