体验版本wx.getExtConfig为空
全网发布审核中,提交完小程序代码,体验中wx.getExtConfig为空,请问谁知道是怎么回事,开发工具都是可以的,appid=wxbb500227fb3e13a3
if (wx.getExtConfig) {
wx.getExtConfig({
success: function (res) {
console.log(res.extConfig)
console.log(res.extConfig.attr.host)
getApp().globalData.API_URL = res.extConfig.attr.host;
getApp().globalData.merchantId = res.extConfig.attr.merchantId;
getApp().globalData.appid = res.extConfig.attr.appid;
getApp().globalData.appSecret = res.extConfig.attr.appSecret;
}
})
console.log(’&&&&&&’+that.globalData.API_URL)
}