Browse Source

修改接口时间

plg 5 months ago
parent
commit
bdeaac31b1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/utils/http.js

+ 1 - 2
src/utils/http.js

@@ -41,8 +41,7 @@ var isMI = false;
 // axios.defaults.baseURL = process.env.VUE_APP_BASE_URL;
 
 sessionStorage.setItem("codeImage", urlCode);
-
-axios.defaults.timeout = 30000; // 超时时间
+axios.defaults.timeout = 30000000; // 超时时间
 axios.defaults.headers.common["Content-Type"] =
   "application/JSON;charset=UTF-8";
 axios.defaults.withCredentials = true;