getMenuButtonBoundingClientRect:fail ?
发布于 6 年前 作者 kongqiang 9673 次浏览 来自 官方Issues

微信版本 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] (<<<FLOATING LINK: https://lib/WASubContext.js:1:1142275)>at Object.

(https://lib/WASubContext.js:1:435327)at Object.(https://lib/WASubContext.js:1:1140353)at Function.(https://lib/WASubContext.js:1:1140483)at Object.(https://lib/WASubContext.js:1:392953)at t.value (https://usr/app-service.js:5684:4137)at pe.t.(anonymous function) (https://usr/app-service.js:5645:2325)at pe.n.(anonymous function) (https://usr/app-service.js:5603:4816)at pe.(https://lib/WASubContext.js:1:1420036)

1 回复

你好,请在在onShow里调用

回到顶部