Objects are not valid as a React child (found: object with keys {status, data, operationId, correlat

Objects are not valid as a React child (found: object with keys {status, data, operationId, correlationId}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method ofexports.

 

错误原因:
1.children不是数组

2.children是object

3.把child当做object使用

 

 

 

你可能感兴趣的:(React)