function excelAppear(){ $.ajax({ url:'', type:'post', async:false, data:{}, cache:true, dataType:'json', beforeSend:function(){ $.messager.progress({ title:'提示',message:'数据导出中请稍后....',text:'' }); }, complete:function(){ $.messager.progress('close'); }, success:function(result){ }, error:function(xhr,textStatus, thrownError){ if (xhr.readyState != 0 && xhr.readyState != 1) { alert("loadInfo查询失败, 错误号: " + xhr.status + ", 错误信息: " + textStatus); } else { alert("loadInfo查询失败,错误信息: " + textStatus); } } }) }
ajax常用属性
最新推荐文章于 2023-05-29 17:19:05 发布