소스 검색

本地日志:加上请求错误的详细日志

Michael Wang 5 년 전
부모
커밋
5ec07fed90
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/utils/axios.js

+ 1 - 0
src/utils/axios.js

@@ -65,6 +65,7 @@ qmInstance.interceptors.response.use(
     return response;
   },
   error => {
+    console.log("axios response error: " + JSON.stringify(error));
     createLog({
       action: "axios response",
       error: JSON.stringify(error, (key, value) =>