Browse Source

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

Michael Wang 5 năm trước cách đây
mục cha
commit
5ec07fed90
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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) =>