uniapp运行时报错routeDone with a webviewId 1 that is not the current page

素颜马尾好姑娘i 2024-03-30 12:07 157阅读 0赞

在开发微信小程序时使用HBuilderX uniapp开发运行时新手可能会出现routeDone with a webviewId 1 that is not the current page这个报错,解决这个问题我们可以在微信小程序app.json文件中添加配置或者如果是uniapp对应的应该是pages.json文件。

  1. "lazyCodeLoading":"requiredComponents",

1b59380569a34b27823df25dfc8a0968.png

添加这句重新编译一下应该问题就解决了

发表评论

表情:
评论列表 (有 0 条评论,157人围观)

还没有评论,来说两句吧...

相关阅读