wx.request 开发工具、安卓都正常,IOS下挂了

发布于 7 年前作者 dongfang10549 次浏览最后编辑 7 年前来自 ask

  wx.request({

    url: rootDocment + opts.url, 

    type: opts.type || ‘GET’,

    success: function(res) {

      opts.success && opts.success(res);

      wx.hideLoading();

    },

    error: function (res) {

      opts.error && opts.error();

    }

  })

}

https证书检测过,正常。

在开发工具和安卓下也正常,但一到iOS里面,就一直loading 既不进去success 也 不进error。费解。

1 回复
nalong
nalong1 楼5 年前

T_T

我也是!