编辑器bug的webviewId丢失问题
发布于 6 年前 作者 gang53 7994 次浏览 来自 问答

   

3 回复

@林超

jsEnginScriptError

Cannot read property ‘webviewId’ of undefined

TypeError: Cannot read property ‘webviewId’ of undefined

    at T (http://81879637.appservice.open.weixin.qq.com/WAService.js:6:25399)

    at O (http://81879637.appservice.open.weixin.qq.com/WAService.js:6:26026)

    at .<anonymous> (http://81879637.appservice.open.weixin.qq.com/WAService.js:6:27667)

    at http://81879637.appservice.open.weixin.qq.com/WAService.js:6:31814

    at http://81879637.appservice.open.weixin.qq.com/WAService.js:4:12978

    at Array.forEach (native)

    at .<anonymous> (http://81879637.appservice.open.weixin.qq.com/WAService.js:4:12958)

    at http://81879637.appservice.open.weixin.qq.com/WAService.js:4:21689

    at n.<anonymous> (http://81879637.appservice.open.weixin.qq.com/asdebug.js:1:11979)

    at n.emit (http://81879637.appservice.open.weixin.qq.com/asdebug.js:1:8437)errorReport @ WAService.js:3(anonymous function) @ WAService.js:3t.errorReport @ WAService.js:7(anonymous function) @ WAService.js:6(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ asdebug.js:1n.emit @ asdebug.js:1r @ asdebug.js:1v @ asdebug.js:1(anonymous function) @ asdebug.js:1

提供的信息太少了

猜不出来为什么

已经做了好几个小程序项目了,之前没有出现过。但之前的项目没有使用tabBar,这个项目使用了tabBar,app.js里登录后直接wx.switchTab首页,不知道是不是这个原因?在手机上不会出现,但是编辑器里一天会出现上百次,严重影响开发

回到顶部