React: Axios Network Error

后端 未结 7 1599
既然无缘
既然无缘 2020-12-09 15:35

This is my first time using axios and I have encountered an error.

  axios.get(
    `http://someurl.com/page1?param1=1¶m2=${param2_id}`
  )
  .then(         


        
7条回答
  •  失恋的感觉
    2020-12-09 16:19

    In my case it happened when my internet connection was unstable. Make sure your internet connection is stable.

提交回复
热议问题