mui.ajax(http://192.168.1.111/****',{
timeout:0,
success:function(resData){
},
error: function(xhr, type, errorThrown)
{
console.log(type);
}
});

奥is的
- 发布:2018-06-27 19:26
- 更新:2018-06-28 08:54
- 阅读:981
mui.ajax 发送请求,在5分钟后服务器还没返回,mui自动获取状态返回abort,当服务器在5分钟内回复,则不报错,代码如下:
分类:MUI
奥is的 (作者)
哈哈哈
2018-06-29 18:03