小程序
小游戏
企业微信
微信支付
扫描小程序码分享
写了个程序,上传了,ios的使用,不管是真机调试还是直接用体验版,都没事,但是用安卓的用体验版就会报错,但真机调试又没有问题,这是发生了什么,我好方,该怎么办
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
这种情况建议调试一下看看报错信息定位问题
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
VM26:1 thirdScriptErrorCannot set property 'classname' of undefined; [Component] Event Handler Error @ pages/games/game#bound gamedaTypeError: Cannot set property 'classname' of undefined at ye.gameda (http://127.0.0.1:48173/appservice/pages/games/game.js:270:36) at Object.r.safeCallback (WAService.js:1:857898) at WAService.js:1:1048426 at r (WAService.js:1:982076) at WAService.js:1:982184 at WAService.js:1:253666 at n (http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:27752) at e.exports.<anonymous> (http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:28094) at http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:13287 at Array.forEach (<anonymous>) 看不懂什么意思
用开发者工具看是报什么错吧
VM26:1 thirdScriptErrorCannot set property 'classname' of undefined; [Component] Event Handler Error @ pages/games/game#bound gamedaTypeError: Cannot set property 'classname' of undefined at ye.gameda (http://127.0.0.1:48173/appservice/pages/games/game.js:270:36) at Object.r.safeCallback (WAService.js:1:857898) at WAService.js:1:1048426 at r (WAService.js:1:982076) at WAService.js:1:982184 at WAService.js:1:253666 at n (http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:27752) at e.exports.<anonymous> (http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:28094) at http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:13287 at Array.forEach (<anonymous>) 看不懂 我那个classname是通过数据绑定获取的,怎么会不行,前面都可以通过打他获得,后面怎么不行
数组中的classname 是不是后台没有给你返回啊 你看下接口返回值啊
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
这种情况建议调试一下看看报错信息定位问题
VM26:1 thirdScriptError
Cannot set property 'classname' of undefined; [Component] Event Handler Error @ pages/games/game#bound gameda
TypeError: Cannot set property 'classname' of undefined
at ye.gameda (http://127.0.0.1:48173/appservice/pages/games/game.js:270:36)
at Object.r.safeCallback (WAService.js:1:857898)
at WAService.js:1:1048426
at r (WAService.js:1:982076)
at WAService.js:1:982184
at WAService.js:1:253666
at n (http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:27752)
at e.exports.<anonymous> (http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:28094)
at http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:13287
at Array.forEach (<anonymous>) 看不懂什么意思
用开发者工具看是报什么错吧
VM26:1 thirdScriptError
Cannot set property 'classname' of undefined; [Component] Event Handler Error @ pages/games/game#bound gameda
TypeError: Cannot set property 'classname' of undefined
at ye.gameda (http://127.0.0.1:48173/appservice/pages/games/game.js:270:36)
at Object.r.safeCallback (WAService.js:1:857898)
at WAService.js:1:1048426
at r (WAService.js:1:982076)
at WAService.js:1:982184
at WAService.js:1:253666
at n (http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:27752)
at e.exports.<anonymous> (http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:28094)
at http://127.0.0.1:48173/appservice/appservice?t=1562141842045:1195:13287
at Array.forEach (<anonymous>) 看不懂 我那个classname是通过数据绑定获取的,怎么会不行,前面都可以通过打他获得,后面怎么不行
数组中的classname 是不是后台没有给你返回啊 你看下接口返回值啊