I do not know the solution is not standardized norms, anyway, finally realized the function
First of all, look at my component structure
Top of the form is a button in the following sub-components baseInfo.js parent component index.js, the effect I want is to save time, to verify whether the form of sub-assemblies can be submitted normal
Subassemblies baseInfo in:
Parent component in index.js
:
Of course, I think there is a more elegant solution, because the first time I react, Baidu for a long time did not find another solution, welcome to speak their own way