详细问题描述
启动页的onLoad方法里面写了页面跳转的方法后,进入被跳转的页面后应用就会出错,具体错误详见运行附件demo
[内容],HBuilderX版本号 1.9.8.20190518
11:47:40.766 Mon May 20 2019 11:47:45 GMT+0800 (CST) Page route 错误(system error)
11:47:40.786 navigateTo with an already exist webviewId 1
11:47:40.806 undefined
11:47:41.006 Expected updated data but get first rendering data at uniapp://ready:182
11:47:41.028 webviewScriptError
11:47:41.046 Expected updated data but get first rendering data
11:47:41.066 Error: Expected updated data but get first rendering data
11:47:41.086 at F (uniapp://ready:182:679403)
11:47:41.106 at uniapp://ready:182:681248
11:47:41.126 at Array.forEach (native)
11:47:41.155 at uniapp://ready:182:681228
11:47:41.187 at window.dispatchGenerateFunc (file:///storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/www/__uniappview.html:40:30)
重现步骤
[步骤]
[结果]
[期望]
[如果语言难以表述清晰,拍一个视频或截图,有图有真相]
IDE运行环境说明
HBuilderX
[IDE版本号]
[windows版本号]
win7 64位 SP1
[mac版本号]
uni-app运行环境说明
APP
[运行端版本号]
HBuilderX创建
[编译模式是老模板模式还是新的自定义组件模式?]
App运行环境说明
[Android版本号]
[iOS版本号]
[手机型号]
[模拟器型号]
附件
[IDE问题请提供HBuilderX运行日志。菜单帮助-查看运行日志,点右键打开文件所在目录,将log文件压缩成zip包上传]
[App问题请提供可重现问题的代码片段,你补充的细一点,问题就解决的快一点]
[App安装包或H5地址]
[可重现代码片段]
联系方式
[QQ]