onDeviceOrientationChange 侦听无效(必现)
代码片段:
wx.onDeviceOrientationChange(function(res){
console.log(“onDeviceOrientationChange”, res);
})
没有输出"onDeviceOrientationChange"
- 预期表现
console.log("onDeviceOrientationChange)