yaosong
yaosong
  • 发布:2016-05-14 13:28
  • 更新:2018-10-19 16:24
  • 阅读:3980

ios mui.ajax报错abort,安卓正常

分类:MUI

ios mui.ajax报错abort,测试机型 iPhone4系统版本ios7.1.2 , 安卓正常 ,ajax代码如下:

mui.ajax('https://url', {  
        dataType: 'json',  
        crossDomain: true,  
        data: {  
            OrderBy: 'ID'  
        },  
        type: 'post',  
        timeout: 10000,  
        headers: {  
            'Access-Token': token  
        },  
        success: function(data) {  

        },  
        error: function(xhr, type, errorThrown) {  
            alert(type);  
            mui.toast('网络不给力,请稍后再试!');  
        }  
    });
2016-05-14 13:28 负责人:无 分享
已邀请:
yaosong

yaosong (作者)

顶上去我顶

yaosong

yaosong (作者)

在线等啊,有没同样问题的呢

1***@163.com

1***@163.com

一样的问题

Trust

Trust - 少说废话

  • 1***@163.com

    那个帖子也没有解决啊

    2016-08-26 09:34

g***@163.com

g***@163.com

https + ios , 必须使用crossDomian:true
https + andriod , 可以不使用
http + ios , 可以不使用
http + andriod , 可以不使用

DCloud_heavensoft

DCloud_heavensoft

检查https的证书,近期有一批机构颁发的证书被苹果谷歌认定无效了。

2***@qq.com

2***@qq.com - 嗯嗯嗯,撂了吧,我写bug呢。

我也遇到了,是我们的 api 的 https 到期了。

该问题目前已经被锁定, 无法添加新回复