WASubContext.js?t=wechat&srouteDone with a webviewId 26 that is not the current

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

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

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

"lazyCodeLoading": "requiredComponents ",

ok!

你可能感兴趣的:(good,method,javascript,前端,html)