报错如下:
On app route: pages/main/index/index
WAService.js:3 jsEnginScriptError
Cannot read property 'webviewId' of undefined
TypeError: Cannot read property 'webviewId' of undefined
at T (http://743331108.appservice.open.weixin.qq.com/WAService.js:6:25399)
at O (http://743331108.appservice.open.weixin.qq.com/WAService.js:6:26026)
at .
(http://743331108.appservice.open.weixin.qq.com/WAService.js:6:27667)
at http://743331108.appservice.open.weixin.qq.com/WAService.js:6:31814
at http://743331108.appservice.open.weixin.qq.com/WAService.js:4:12978
at Array.forEach (native)
at . (http://743331108.appservice.open.weixin.qq.com/WAService.js:4:12958)
at http://743331108.appservice.open.weixin.qq.com/WAService.js:4:21689
at n. (http://743331108.appservice.open.weixin.qq.com/asdebug.js:1:11979)
at n.emit (http://743331108.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
本文来自微信小程序开发者论坛 微信小程序工厂 http://www.xcxgc.com 转载请保留。
微信小程序开发者回答:
林***:
请提供下更多信息
做什么操作代码是怎么样的会有这个报错
秋***:
App的onLaunch里面能调用wx.switchTab吗?原先可以,一升级后不行了。
Android体验版显示“资源包过期“,这要如何解决?--微信小程序开发教程 ...
C***:
App onLaunch 里边不能立即调用 wx.switchTab
秋***:
那如何在开始的时候,动态的选择需要加载的页面呢?
本文网址:http://www.91bianli.com/weixinxiaochengxu/53885.html