详细问题描述
(DCloud产品不会有明显的bug,所以你遇到的问题大都是在特定环境下才能重现的问题,请仔细描述你的环境和重现方式,否则DCloud很难排查解决你的问题)
[内容]
生命周期函数onLoad onShow 做判断跳转时,出现空白并报错
重现步骤
升级到1.9.7版本出现的,1.9.8版本也同样存在
11:38:50.557 Expected updated data but get first rendering data at uniapp://ready:182
11:38:50.575 webviewScriptError
11:38:50.595 Expected updated data but get first rendering data
11:38:50.615 Error: Expected updated data but get first rendering data
11:38:50.635 at F (uniapp://ready:182:679403)
11:38:50.655 at uniapp://ready:182:681248
11:38:50.697 at uniapp://ready:182:681228
11:38:50.735 at window.dispatchGenerateFunc (file:///storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/www/__uniappview.html:40:30)
11:38:50.775 Expected updated data but get first rendering data at uniapp://ready:182
11:38:50.795 webviewScriptError
11:38:50.815 Expected updated data but get first rendering data
11:38:50.835 Error: Expected updated data but get first rendering data
11:38:50.855 at F (uniapp://ready:182:679403)
11:38:50.875 at uniapp://ready:182:680701
11:38:50.895 at uniapp://ready:182:670474
11:38:50.915 at uniapp://ready:182:113271
11:38:50.935 at uniapp://ready:182:91615
11:38:50.955 at t.(anonymous function) (uniapp://ready:182:89683)
11:38:50.976 at Object.subscribeHandler (uniapp://ready:182:1513)
11:38:50.995 at Object.subscribeHandler (uniapp://ready:1:19939)
brightyang
抓紧修复吧,每次新版本一出就会爆出其他的bug,都不敢更新了
2019-05-21 18:53
o***@126.com
1.9.9修复了app,但是现在小程序里跳转失效了,也需要加setTimeout才能跳转
2019-05-23 10:34
w***@163.com
新版本还是有这个问题
2019-05-23 10:56
薄荷味的雪
1.9.9还是有问题
2019-05-23 11:02
DCloud_uni-ad_HDX
回复 薄荷味的雪: HbuilderX项目还是cli项目 cli项目需要更新
2019-05-23 17:20