ios10.0.1调用系统API 无法回调的promise then中

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

new Promise(resove=>{

console.log(66666)

wx.getSystemInfo({

success: function(res) {

console.log(777777)

console.log(res)

resove(res)

这里显示成功

},

})

}).then(res=>{

//这里没有回调

console.log(res)

}).catch(res=>{

})

1 回复
tao25
tao251 楼5 年前

楼主解决这个问题了吗,求教