|
@@ -8,7 +8,7 @@ import screenfull from "screenfull";
|
|
|
axios.defaults.baseURL = baseUrl;
|
|
|
// axios.defaults.baseURL = "/api";
|
|
|
|
|
|
-axios.defaults.timeout = 30000; // 超时时间
|
|
|
+axios.defaults.timeout = 300000; // 超时时间
|
|
|
axios.defaults.headers.common["Content-Type"] =
|
|
|
"application/JSON;charset=UTF-8";
|
|
|
axios.defaults.withCredentials = true;
|