Why do request data sometimes get undefined,?

problem description

I render the page with a long list of antd-mobile , and use axios to send a request. Sometimes some of the data is not available, and sometimes there is no problem. Why?

related codes

/ / Please paste the code text below (do not replace the code with pictures)
I used the transformResponse configuration item when I created the instance with axios .

   


Test with postman to see if there is any data. If so, there is something wrong with your code

Menu