axios知識點總結

概要 最近的一個項目中使用了axios來代替XMLHttpRequest來發送請求。也是遇到了一些問題。這裏作下簡單的記錄。javascript GET請求不一樣方式結果不一樣 官方文檔咱們能夠看到的示例demo以下:html // 直接在請求理解裏面拼接參數get參數 axios.get('/user?ID=12345') .then(function (response) { co
相關文章
相關標籤/搜索