点击的时候开发者工具抛错,但是真机扫码打开显示正常,这是为啥?
VM630:1 webviewScriptError
Cannot read property ‘offsetLeft’ of undefined;[Exparser] [Error] [Component] Event Listener Error @ lbg/components/grid-item/index#(anonymous)
TypeError: Cannot read property ‘offsetLeft’ of undefined
2 回复
你好,用的是哪个版本的开发工具?麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)