Explorar o código

增加超时时间

zhangweicheng %!s(int64=6) %!d(string=hai) anos
pai
achega
b988e867f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/web/common_ajax.js

+ 1 - 1
public/web/common_ajax.js

@@ -171,7 +171,7 @@ async function ajaxPost(url, data) {
             data: {'data': JSON.stringify(data)},
             data: {'data': JSON.stringify(data)},
             dataType: 'json',
             dataType: 'json',
             cache: false,
             cache: false,
-            timeout: 50000,
+            timeout: 200000,
             success: function(result){
             success: function(result){
                 if (!result.error || !result.err) {
                 if (!result.error || !result.err) {
                     resolve(result.data);
                     resolve(result.data);