|
@@ -77,7 +77,7 @@ const cancelTimeoutUrlPost = ["/cloud_disk/resource/upload"];
|
|
export default {
|
|
export default {
|
|
post(url, data) {
|
|
post(url, data) {
|
|
//post请求方式
|
|
//post请求方式
|
|
- let timeout = cancelTimeoutUrlPost.includes(url) ? 0 : 100000;
|
|
|
|
|
|
+ let timeout = cancelTimeoutUrlPost.includes(url) ? 0 : 600000;
|
|
return axios({
|
|
return axios({
|
|
method: "post",
|
|
method: "post",
|
|
url: url,
|
|
url: url,
|
|
@@ -100,7 +100,7 @@ export default {
|
|
baseURL: process.env.VUE_APP_API_ROOT,
|
|
baseURL: process.env.VUE_APP_API_ROOT,
|
|
url: url,
|
|
url: url,
|
|
params: getData(data, url),
|
|
params: getData(data, url),
|
|
- timeout: 100000,
|
|
|
|
|
|
+ timeout:600000,
|
|
headers: {
|
|
headers: {
|
|
"Content-type": "application/x-www-form-urlencoded; charset=utf-8",
|
|
"Content-type": "application/x-www-form-urlencoded; charset=utf-8",
|
|
},
|
|
},
|