Question:

A nested form is a component that is created and edited by the same component

2. Component data is rendered through interfaces

3. During creation, empty data is added and the verification fails. If you click Edit, the verification fails

Solutions:

1. When using this component, add a key value, which is a dynamically changing value, editing and creating can be distinguished

2. If the data is received through the interface, the key value must be updated after the data is obtained