安卓手机wx.getSystemInfo的windowHeight进入的时候不准
安卓手机进入页面在onload中使用wx.getSystemInfo()方法获取设备信息,获取到的windowHeight不对,下图是onload中获取到的数据:

,切换底部tab,再进入同页面后,在onshow中使用wx.getSystemInfo()中获取到的windowHeight才是正确的,获取到的数据是下图:

安卓手机进入页面在onload中使用wx.getSystemInfo()方法获取设备信息,获取到的windowHeight不对,下图是onload中获取到的数据:
,切换底部tab,再进入同页面后,在onshow中使用wx.getSystemInfo()中获取到的windowHeight才是正确的,获取到的数据是下图: