Преглед на файлове

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

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) =>