WASubContext.js?t=wechat&s=1670034424984&v=2.28.0:1 routeDone with a webviewId 1 that is not the cur

使用HBuilderx开发uniapp项目,运行成功打开微信开发者工具时,会有一个报错,看着很烦

WASubContext.js?t=wechat&s=1670034424984&v=2.28.0:1 routeDone with a webviewId 1 that is not the cur_第1张图片

只需要在我们的pages.json中配置 "lazyCodeLoading": "requiredComponents ",这条语句就OK了,

再重新打开微信开发这工具就没有了,如果还有可以重新运行项目,目前我的是这样解决的.

WASubContext.js?t=wechat&s=1670034424984&v=2.28.0:1 routeDone with a webviewId 1 that is not the cur_第2张图片

 

你可能感兴趣的:(javascript,前端,开发语言)