axios gets backend data

When axios requests data from the backend, it has been unable to obtain the data.

Later, it was changed to write like this to get the data

 

Not a this, some people say that using arrow functions is fine.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325690995&siteId=291194637