소스 검색

设置请求时间

Lijy 2 년 전
부모
커밋
f7563ca000
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fhKeeper/formulahousekeeper/timesheet/src/http.js

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/http.js

@@ -2,7 +2,7 @@ import axios from 'axios'
 import qs from 'qs'
 import imgPath from "@/assets/image/jiazai.gif"
 
-const TIME_OUT_MS = 120 * 1000 // 默认请求超时时间
+const TIME_OUT_MS = 180 * 1000 // 默认请求超时时间
 
 function prompt() {
     window.ELEMENT.Message({