lsc 1 月之前
父節點
當前提交
612366573a
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      js/UForm/Ajax.js
  2. 1 1
      uform.js

+ 1 - 1
js/UForm/Ajax.js

@@ -281,7 +281,7 @@ U.A.Request.createAjaxObject = function (url) {
 U.A.Request.writeHeader = function (ajax, header) {
     header["CONTENT-TYPE"] = header["CONTENT-TYPE"] || "application/x-www-form-urlencoded;charset=UTF-8"; //请求写入数据的格式,必须传值,否则后台获取值会报错
     //header["Connection"] = "keep-alive";
-    header["timeout"] = 10000;
+    header["timeout"] = 60000;
     try {
         header["type"] = null;
         delete header["type"];

+ 1 - 1
uform.js

@@ -540,7 +540,7 @@ U.A.Request.createAjaxObject = function (url) {
 U.A.Request.writeHeader = function (ajax, header) {
     header["CONTENT-TYPE"] = header["CONTENT-TYPE"] || "application/x-www-form-urlencoded;charset=UTF-8"; //请求写入数据的格式,必须传值,否则后台获取值会报错
     //header["Connection"] = "keep-alive";
-    header["timeout"] = 10000;
+    header["timeout"] = 60000;
     try {
         header["type"] = null;
         delete header["type"];