微信版本 7.0.8
getMenuButtonBoundingClientRect:fail; at wx.getMenuButtonBoundingClientRect
Error: getMenuButtonBoundingClientRect:fail
at Object.getMenuButtonBoundingClientRect (https://lib/WASubContext.js:1:1119240)at Object.p.(anonymous function) [as getMenuButtonBoundingClientRect] (https://lib/WASubContext.js:1:1142275)at Object.
你好,请在在onShow里调用