设置默认Ajax操作cache and error
2017-02-06
22
复制代码 代码如下: // 设置Ajax操作的默认设置 $.ajaxSetup({ cache: false, error: function (XMLHttpRequest, textStatus, errorThrown) { if( typeof(errorThrown) != "undefined" ) $.messager.alert(g_MsgBoxTitle, "调用服务器失败。<br />" + errorThrown...