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

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

"lazyCodeLoading":"requiredComponents",

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

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

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/87eb88f059.html