axios axios成功卻走了catch

問題描述: 使用axios發送ajax請求,服務器返回200,數據也成功返回了,可是前臺這裏,axios 這邊代碼也走了 then方法的代碼,可是走完以後,又走了catch裏的代碼,仔細檢查了then方法裏的代碼,沒有錯誤。ios 請求截圖ajax axios then 和 catch 方法代碼axios   this.login(param).then(res => { if(res.data.
相關文章
相關標籤/搜索