Commit 1076fa37 by 杨树贤

修改超时时间

parent 01373727
......@@ -49,7 +49,7 @@ class BrandSelectorPresenter
page: pageIndex
},
dataType: 'json',
timeout: 10000,
timeout: 20000,
success: function (res) {
if (!res) return layer.msg('网络错误,请重试', {icon: 5});
if (res.code === 0) {
......
......@@ -67,7 +67,7 @@ function ajax(url, data) {
data: data,
async: false,
dataType: 'json',
timeout: 10000,
timeout: 20000,
success: function (resp) {
if (resp) {
result = resp;
......
......@@ -69,7 +69,7 @@
page: pageIndex
},
dataType: 'json',
timeout: 10000,
timeout: 20000,
success: function (res) {
if (!res) return layer.msg('网络错误,请重试', {icon: 5});
if (res.errcode === 0) {
......
......@@ -27,7 +27,7 @@
type: 'post',
async: true,
dataType: 'json',
timeout: 10000,
timeout: 20000,
success: function (res) {
if (res.err_code === 0) {
$.each(res.data, function (index, value) {
......
......@@ -46,7 +46,7 @@
type: 'GET',
async: true,
dataType: 'json',
timeout: 10000,
timeout: 20000,
success: function (res) {
console.log(supplier_name);
console.log(tax_number);
......@@ -291,7 +291,7 @@
type: 'GET',
async: true,
dataType: 'json',
timeout: 10000,
timeout: 20000,
success: function (res) {
admin.btnLoading('#recheck_company_info', false);
if (res.err_code === 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment