Page is not constructed问题
发布于 5 年前 作者 slai 12589 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)
  • 预期表现
  • 复现路径

点击个人信息,无法渲染个人信息页

  • 提供一个最简复现 Demo

在真机调试以及预览中都可以顺利打开此页面,但是在模拟器调试中报错Page[pages/myInfo/myInfo] not found. May be caused by: 1. Forgot to add page route in app.json. 2. Invoking Page() in async task.和Page is not constructed because it is not found.注:在代码片段里面也可以顺利编译通过,但是在工具模拟器里面不行

1 回复

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部