|
@@ -2,7 +2,7 @@ import axios from 'axios'
|
|
|
import qs from 'qs'
|
|
|
import imgPath from "@/assets/image/jiazai.gif"
|
|
|
|
|
|
-const TIME_OUT_MS = 60 * 1000 // 默认请求超时时间
|
|
|
+const TIME_OUT_MS = 120 * 1000 // 默认请求超时时间
|
|
|
|
|
|
function prompt() {
|
|
|
window.ELEMENT.Message({
|
|
@@ -64,7 +64,7 @@ export default {
|
|
|
method: 'post',
|
|
|
url: handleUrl(url),
|
|
|
data: handleParams(qs.stringify(data)),
|
|
|
- // timeout: TIME_OUT_MS,
|
|
|
+ timeout: TIME_OUT_MS,
|
|
|
headers: {
|
|
|
//'Content-Type': 'application/json; charset=UTF-8'
|
|
|
'Content-type': ' application/x-www-form-urlencoded; charset=UTF-8',
|