wx.request 开发工具、安卓都正常,IOS下挂了
发布于 5 年前 作者 dongfang 10434 次浏览 来自 问答

  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 回复

T_T

我也是!

回到顶部