当前位置:   article > 正文

routeDone with a webviewId 52 that is not the current page(env: Windows,mp,1.05.2110290; lib: 3.1.1)_routedone with a webviewid 5 that is not the curre

routedone with a webviewid 5 that is not the current page(env: windows,mp,1.

uniapp调试微信小程序报错:

routeDone with a webviewId 52 that is not the current page(env: Windows,mp,1.05.2110290; lib: 3.1.1)

解决办法:

在uniapp中的manifest.json的 "mp-weixin"添加一行代码:

"lazyCodeLoading": "requiredComponents"
  1. {
  2. "mp-weixin" : {
  3. "appid" : "xxxxxxxxxx",
  4. "setting" : {
  5. "urlCheck" : true,
  6. "es6" : false,
  7. "minified" : true,
  8. "postcss" : true
  9. },
  10. "optimization" : {
  11. "subPackages" : true
  12. },
  13. "usingComponents" : true,
  14. "permission" : {
  15. "scope.userLocation" : {
  16. "desc" : "用于获取地理位置进行打点"
  17. }
  18. },
  19. "lazyCodeLoading": "requiredComponents"
  20. },
  21. }

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/315895?site
推荐阅读
相关标签
  

闽ICP备14008679号