wx.getExtConfigSync 真机调试,获取不到数据?
//获取Ext.json数据
let extConfig = wx.getExtConfigSync? wx.getExtConfigSync(): {}
console.log("域名:")
console.log(extConfig)
wx.getExtConfig({
success: function (res) {
extConfig = res.extConfig;
console.log("域名ccccc:")
console.log(res)
}
})
[图片] 电脑上正常[图片]