修改BUG:增加后台编辑超时后,脚本未授权处理逻辑

This commit is contained in:
Argo-Lenovo 2017-05-08 15:19:38 +08:00
parent 3a177bbbde
commit f557177065
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@
success(result);
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
if ($.isFunction(data.callback)) data.callback(false);
lgbSwal({ title: errorThrown, text: XMLHttpRequest.responseJSON.Message, type: 'error' });
}
});
}
@ -159,7 +159,7 @@
},
lgbSwal: function (options) {
if ($.isFunction(swal)) {
swal($.extend({ showConfirmButton: false, showCancelButton: false, timer: 800, title: '未设置', type: "success" }, options));
swal($.extend({ showConfirmButton: false, showCancelButton: false, timer: 1000, title: '未设置', type: "success" }, options));
}
}
});