微信小程序真机调试 VM13:2 MiniProgramError
Z.createEvent is not a function
TypeError: Z.createEvent is not a function
at re (eval at n.call.document (http://127.0.0.1:58423/remote-debug/runtime.js?devtools_ignore=true:1:14643), <anonymous>:2:57291)
问题:编译没有报错也可以运行,真机调试报错并且不能跳转页面。
原因:在调试过程中不小心在app.json删除了页面,没有在app.json里面申明此页面
解决措施:重新在app.json声明页面,并保存编译,真机调试成功。