VM75:1 Please do not call Page constructor in files that not listed in "pages" section of app.json or plugin.json
console.error @ VM75:1
x @ WAService.js:1
Dt @ WAService.js:1
Jt @ WAService.js:1
(anonymous) @ app.js? [sm]:15
require @ WAService.js:1
(anonymous) @ VM100:1
scriptLoaded @ appservice?t=1544526789938:1215
VM75:1 thirdScriptError
sdk uncaught third Error
APP-SERVICE-Engine:Please do not call Page constructor in files that not listed in "pages" section of app.json or plugin.json
Error: APP-SERVICE-Engine:Please do not call Page constructor in files that not listed in "pages" section of app.json or plugin.json
at Dt (http://127.0.0.1:40186/appservice/__dev__/WAService.js:1:702553)
at Jt (http://127.0.0.1:40186/appservice/__dev__/WAService.js:1:716680)
at http://127.0.0.1:40186/appservice/app.js:17:1
at require (http://127.0.0.1:40186/appservice/__dev__/WAService.js:1:723572)
at <anonymous>:1:1
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:40186/appservice/appservice?t=1544526789938:1215:23)
页面路径再app.json都有定义,跳转的也是tabBar页面
要跳转的页面需要在app.json中定义
页面路径再app.json都有定义,跳转的也是tabBar页面
提供一个代码片段吧https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
https://developers.weixin.qq.com/s/TuhmZBmD7l4N
app.js中不要定义page,删除即可
谢谢啊,找了一天的错误了