React data interaction problem

Hello, I am using React to interact with backend data recently. After the back end gets the data, it sends the object or list to the front end. When I receive such a message, it turns out that the value cannot be obtained, and it will return “'undefined”. How to obtain the required parameters?