dev_202304
yujialong 2 years ago
parent 55dc4c90ae
commit 0475badb38
  1. 2
      src/utils/http.js

@ -6,7 +6,7 @@ import Setting from '@/setting'
axios.defaults.baseURL = Setting.apiBaseURL
// 请求超时时间
axios.defaults.timeout = 30000;
axios.defaults.timeout = 3000000000;
// post请求头
axios.defaults.headers.post['Content-Type'] = 'application/json;charset=UTF-8';

Loading…
Cancel
Save