Commit 2cb7d1ca by 潘际乾

请求超时时间调至2min,防止外网请求超时

parent 5deab808
...@@ -78,7 +78,7 @@ export default class Api ...@@ -78,7 +78,7 @@ export default class Api
axios.post(url,data,{ axios.post(url,data,{
headers, headers,
method, method,
timeout: 50000, timeout: 120000,
}) })
.then(response=>{ .then(response=>{
const {data} = response; const {data} = response;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment