复制页面后出现错误提示

发布于 7 年前作者 lijing4512 次浏览最后编辑 7 年前来自 ask

Please do not call Page constructor in files that not listed in “pages” section of app.json or plugin.json

在复制了一个目录过后出现了这个提示。但是小程序模拟器和真机运行都正常。

1 回复
xiuying14
xiuying141 楼5 年前

要加上路径,在app.json中。