In element-ui, the dynamically generated form verification method
- Corresponding to yellow and blue: prop needs to contain array name. subscript. object name
- You need to write the corresponding verification method in it (you can’t use the rules verification in data(){}, because it is dynamic)
Effect: