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",

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

猜你喜欢

转载自blog.csdn.net/weixin_52479225/article/details/128435765